Hacker News new | ask | show | jobs
by tbronchain 1743 days ago
This, really.

I'm most likely less experiment than some people here but after 10+ years of writing code, I came to the conclusion that the best code is the most readable code.

If all developers could write code that is easily readable for them (even after a few months break in the project), the software engineering world would be a lot better :)

Of course it makes sense to avoid anti-patterns and bottlenecks, but no much more really.

1 comments

Readability is largely subjective. I think this sentiment is better described as optimising readability for the lowest common denominator in terms of both ability/experience and the most common style of code, that being imperative. That's not an unreasonable choice to make but there are other criterion by which to judge how easy or hard code is to read.

It comes up a lot in discussions about Go. A simple, "readable" language in which I can't tell you at a glance what a block of code does or is responsible for.