Hacker News new | past | comments | ask | show | jobs | submit
The tendency to over-engineer and over-build is one of the main challenges I'm seeing. When it comes for free, why not build a class hierarchy of 8 classes each with a 200 line unit test? Something I might have previously thought really hard to minimalise down to 30 lines is now bloated out to hundreds or even thousands.

Previously, pretty much everyone all agreed on YAGNI and KISS because code was so expensive to create and more expensive to maintain. Now the code generation is "free" - but at a design level, YAGNI and KISS do still matter. But they are enforced now only by sheer will power. You have to actively restrain the code from being created if you don't want it. Perfectly good code - I can't even fault it. I just know, if it doesn't need to exist yet, it's a mistake to create it earlier than needed.

Like that quote in Le Petit Prince, real intelligence is knowing what not to build, what can be eliminated until only what's necessary is left.

> La perfection est atteinte non pas lorsqu'il n'y a plus rien à ajouter, mais lorsqu'il n'y a plus rien à retirer.

> Perfection is attained not when there is nothing more to add, but when there is nothing more to remove.

That quotation is in fact from "Wind, Sand, and Stars", the memoir of the same author.

On the same theme:

> the supreme goal of all theory is to make the irreducible basic elements as simple and as few as possible without having to surrender the adequate representation of a single datum of experience

- Einstein

> I would have written a shorter letter, but did not have the time

- Pascal

> Simplicity is a great virtue but requires hard work to achieve and education to appreciate, and, to make matters worse, complexity sells better.

- Dijkstra.

Thank you! The GP quote sounded completely unLittlePrince-like! I can believe it as a quote from Saint-Exupery.
{"deleted":true,"id":50349931,"parent":50349548,"time":1793698973,"type":"comment"}
I don't think anybody tries into KISS, most software is bloated and LLMs copy it, they fundamentally can't think out of the box.
loading story #50350830
loading story #50352900
loading story #50350402
loading story #50351685
loading story #50350671
{"deleted":true,"id":50349566,"parent":50349414,"time":1793695405,"type":"comment"}