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…










