Comment

Comment by jeremycw

I've now been a professional software developer for about 10 years and have come to the exact opposite conclusion of this article. I've come to find that these types of principals lead to the opposite of readable code for me. Principals like solid lead to overly abstract code that becomes very hard to follow. I prefer code to be as linear, obvious and unsurprising as it can be and the amount of useless abstractions that get bolted on to make code SOLID do the opposite of that. Some principals I have found useful:

YAGNI KISS DRY

In that order. First, try not to do the thing. Second, if you have to, make it as simple and straight forward as possible. Third, don't repeat yourself but observe one and two first.

parent jeremycw 7 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton