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 mng.bz/7lvg #refactoring
Christian Clausen retweeted
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
dev.to/dev3l/refining-your-c…
And reach out if you want to discuss any of these topics: meet.merrymake.eu
My latest talk about event-driven microservice architecture, platform engineering, and infraless presented at Øredev 2023, just went up on YouTube 😄 Check it out youtube.com/watch?v=uGmIdLjz…
#øredev #platformengineering #infrastructure #eventdrivenarchitecture
Christian Clausen retweeted
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
That is my best suggestion off the top of my head. Feel free to add more, if there is something I am overlooking 😊
* '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.
I think Go is "object-oriented enough" for what my book requires, since it is possible to implement Strategy Pattern in Go. From my limited knowledge, I would suggest the following slight modifications:
Replying to @r0bnet
First of all, thank you for the question! It is one that I get quite a bit actually. Unfortunately, I haven't much experience with Go, since I am a type theorist. I think my good friend @randomsort is better equipped to answer.
Christian Clausen retweeted
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:
Christian Clausen retweeted
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:
gotopia.tech/podcast
I had a chance to spend an hour with one of my greatest idols @KevlinHenney. I had such a great time and we discussed really interesting topics!
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
youtu.be/5xe64wudvCo?list=PL…
Christian Clausen retweeted
#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
youtu.be/zNVM1rmuOyg?list=PL…
Christian Clausen retweeted
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 …
Recently, I was asked to recommend 5 programming books, and after a lot of reflection I came up with these: shepherd.com/best-books/read…
Christian Clausen retweeted
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!
youtu.be/P_6eDL1aqtA?list=PL…
Christian Clausen retweeted
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.
youtu.be/APdaacGmDew?list=PL…
Christian Clausen retweeted
Ok, can GPT-4 *actually* write code? I tested it a bunch with some real-world examples and constructed "simple but hard" problems. tylerglaiel.substack.com/p/c…
Absolute pleasure to talk with @julian_wood about code quality and software architecture
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.
youtu.be/DpDQn99BY0M?list=PL…
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
Christian Clausen retweeted
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!
gotopia.tech/events/139/-fiv…















