Discussion about this post

User's avatar
Lucien Bill's avatar

As a beginner, I wrote simple code because I wanted to understand it.

Then as my skills grew, I wrote some one liners in my code because I thought it was more efficient... Until I had to maintain some of it and realised it was just painful 🤣

Now, I write simple code because I want to understand it... And I want it to be as easy to understand as possible for as many people as possible.

I use the same approach with abstractions: I only create them when they bring more advantages that what they cost in complexity and cognitive load.

Expand full comment
Jordan Cutler's avatar

This is one of the few times I would use the "Request changes" button 😂 if someone submitted that for code review

Expand full comment
2 more comments...

No posts