Within the next few days Five Lines of Code will be sent to the printers, and it is looking great! The book describes a novel approach to learning about code quality and refactoring, focusing on minimizing cognitive overhead. Check it out https://t.co/O1YVXlnSdT #refactoring
Five Lines of Code
Embrace disciplined approach outlined through ten key rules for writing concise, readable, & maintainable code. Focus on simplicity, clear abstraction, & thoughtful naming to elevate code quality
#engineering#refactoring@thedrlambda
https://t.co/cpq4QCBkd5
The untold history of web development:
1990: HTML invented
1994: CSS invented to fix HTML
1995: JS invented to fix HTML/CSS
2006: jQuery invented to fix JS
2010: AngularJS invented to fix jQuery
2013: React invented to fix AngularJS
2014: Vue invented to fix React & Angular
2016: Angular 2 invented to fix AngularJS & React
2019: Svelte 3 invented to fix React, Angular, Vue
2019: React hooks invented to fix React
2020: Vue 3 invented to fix React hooks
2020: Solid invented to fix React, Angular, Svelte, Vue
2020: HTMX 1.0 invented to fix React, Angular, Svelte, Vue, Solid
2021: React suspense invented to fix React, again
2023: Svelte Runes invented to fix Svelte
2024: jQuery still used on 75% of websites
@r0bnet@RandomSort * 'five lines' should be 'five meaningful lines' ie. excluding the return check ifs.
* 'if only at the start' becomes 'logical decisions only at the start'
* Add a rule about not accessing mutable fields of a non-receiver argument -- to enforce encapsulation.
If you're looking for a new job, don't simply tell your interviewer:
- "I've been a software engineer for 3 years"
You should measure your own experience in qualitative terms. Not number of years.
Try these ideas instead:
In #software, less is more.
@thedrlambda spoke to @KevlinHenney about #refactoring focused on concrete rules and getting any method down to five lines or less. Improve code readability & testability while identifying performance bottlenecks
🎙️Tune in:
https://t.co/De2ByiFpUY
In software, less is more. When writing efficient code, the Five Lines of Code Principle is key
@thedrlambda spoke to @KevlinHenney about #refactoring & getting any method down to five lines. Learn how you can improve code readability & testability
https://t.co/jgBl5mXMOL
#Refactoring is one of the most common tasks you’ll face. But you can apply rules without relying on code smells
@thedrlambda spoke to @KevlinHenney about when you should refactor code & what patterns to apply to what problem
📚 Full ep out on June 22
https://t.co/fO9WFFCMLU
This week’s Commoncog essay is a deep dive into the cursed question: “what do you do in business when you can’t predict the outcomes of your actions?”
But let’s set this up …
Working with a legacy system is still one of the most challenging problems for companies and devs, draining time and money.
@thedrlambda spoke to @mfeathers about solving real-life problems with the help of clean code.
📚 New #GOTObookclub ep out now!
https://t.co/aOPYZ88Kgd
Dev teams often struggle with basic software hygiene like #refactoring and testing.
Hear author of 'Five Lines of Code' @thedrlambda go through a simple, systematic and iterative approach to refactoring to help you get your technical debt under control.
https://t.co/OrU93GuYwI
Ok, can GPT-4 *actually* write code? I tested it a bunch with some real-world examples and constructed "simple but hard" problems. https://t.co/9aUTuLHVJ7
Running tests after each change are key elements of #refactoring that help you to improve your code.
Watch this #GOTOunscripted ep where @thedrlambda spoke to @julian_wood about actionable things you can do to improve code without relying on code smells.
https://t.co/rnZoLPPWGL
I still love this quote:
"If an idea is good and it turns out to be true somebody else will have done it.
If an idea is stupid you have a chance that nobody else is dumb enough to try it.
Then if it happens to work you really have something!" -- @KentBeck
Get ready for an on-site #GOTOnight with @thedrlambda, author of “Five Lines of a Code” on January 17.
Learn a simple, systematic and iterative approach to #refactoring, that will help you start getting your technical debt under control.
Save your spot!
https://t.co/Hn8vSMlPEq