Re:Ask HN: Where do I find good code to read?
by roenxi on Thursday August 24, 2023 @09:29AM
(#37248532)
Comes down to semantics, really. Is "good" equivalent to "acceptable" or does it mean "to be strives for"?
Code that works is, usually, acceptable. But code that is acceptable while making no unnecessary maintenance trade-offs is much better. Good code is code that uses standard techniques in standard ways to achieve a result without being verbose or inefficient. But that is a much higher bar than code that is literally good enough.
Code that works is, usually, acceptable. But code that is acceptable while making no unnecessary maintenance trade-offs is much better. Good code is code that uses standard techniques in standard ways to achieve a result without being verbose or inefficient. But that is a much higher bar than code that is literally good enough.