logoalt Hacker News

FunkyMushroom • today at 1:38 PM • 0 replies • view on HN

The thing is that both are true, which informs most of the opposition to AI code generation.

That yes, the code is nominally worthless and the true value lies in the understanding of the problem domain.

But that understanding has to live somewhere. Obviously, first and foremost it lives in the developers' brains. Secondarily it lives in all the documentation and reports.

Neither of those two are much valued in our industry. Documentation is hard and often sucks, turnover is high with companies being outright hostile to the idea of institutional knowledge, so the third place this understanding lives is quite valuable as it's the only one that persists: The Code.

> How relevant is that in the age of AI is to be seen I guess.

To reuse Naur's example: A codebase that already elegantly models and encodes this understanding is so much more valuable and easy to work with than one which doesn't, even if both are so functionally identical they build to the same exact assembly.

In effect, the new caretakers are protected by the thousands of micro-design decisions in the a good codebase, each protecting against a problem the new dev doesn't even know exists. Conversely, a bad design endlessly tempts them with mistakes and requires constant second-guessing.

The current vibe is very much focussed on going fast, faster, fastest. But slow and steady may very well win this race; AI benefits just as much from good design as a human developer.