30 ms·
Both "dumb" and abstracted code can be hard to read and change. The most important part is consistency. It is generally easier to write dumb code that is consi
by dgb23 7y ago
Both "dumb" and abstracted code can be hard to read and change. The most important part is consistency.
It is generally easier to write dumb code that is consistent. It requires less mental energy and is often a very good starting point for refactoring into something more declarative and DRY.
The pain comes from inconsistent code, often either based on wrong previous assumptions, premature optimization or time pressure.