Code is Cheap(er)

45 points by facundoolano


eduard

The comparison with the sorcerer’s apprentice scene is really good!

qznc

Peter Naur’s Programming as Theory Building from 1985 probably deserves a few more re-reads these days.

joshka

“LLMs are incapable of fear of complexity” overstates the case.

The failure mode is real: left to broad instructions, LLMs will often add layers, invent abstractions, and produce more code than the problem deserves. But that behavior is easy to observe, easy to review for, and surprisingly easy to steer away from. Use your AGENTS/CLAUDE.md file to tune software to how you like it.

Ask for the smallest change. Ask what can be deleted. Ask whether an abstraction is earning its keep. Ask for invariants, coupling points, and cognitive load. Ask for a second pass that removes cleverness. The model will usually follow that pressure. Put that into your prompt and it will avoid it from the start.

So the danger is not that LLMs can never respect complexity. The danger is that they are happy to produce whatever shape of code the surrounding process rewards. A team that rewards volume will get volume. A team that rewards simplicity can often get that too.

The models are better than most humans these days, and they're only going to get better from here. Pressure your AI lab with feedback when your code isn't good. GPT stuff is terrible at writing good docs for instance (IMO at least).

vittorioromeo

understanding code has become more expensive

I am not sure I agree in general. Perhaps this is true for LLM-generated code with little thought but behind it, but with proper guidance LLMs can generate very readable and well-layered code. Of course, the human is taking most of the architectural choices there, which I think it's how it should be anyway.

Another counterpoint is that I've found LLMs excellent to understand human-written code I'm not familiar with. I can ask Claude Code to perform a deep dive into some code a produce a Markdown document where each part is explained, and even suggest an ordering for me to start reviewing/understanding the code.

That's extremely valuable.