News for hackers. Stuff that matters.
Re:Cognitive Biases in Software Development by mtrycz2 on Tuesday March 31, 2020 @04:52AM (#22735910)
> really dumb looking code

You cannot imagine how I'd value having really dumb looking code in my life.

Yet here I am, swimming in a swap of cleverness that I can't refactor nor will ever be able to wrap my head around.

I envy you.

Re:Cognitive Biases in Software Development by dgb23 on Tuesday March 31, 2020 @06:38AM (#22736364)
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.