Hacker News new | ask | show | jobs
by smellf 13 days ago
My pet theory: LLMs make software development go a lot faster. Their code also has fewer defects per unit shipped than human-written code does, on average and when LLMs are used properly. But since the volume is up, the absolute defect count is up too, even though the defect rate per unit of code shipped is lower.
3 comments

This is my boring theory as well. I suspect that the defects at probably developing at the boundary between services. Everyone is accelerating using AI at the time, but maybe we are neglecting the human coordination between systems, or we haven't come to equilibrium in a new world yet where everyone is developing at a much faster pace than before.
The system boundaries thing is a really good point. The only reason we all still have jobs is because the LLM context is finite - it can't yet reliably do really broad context like people can, so we have to focus them in on one subsystem, and they don't know what they don't know, leading to these integration gaps.

Unfortunately I think the AI researchers will figure it out, next year or five years from now. There's too much money riding on the "let's fire all the SWEs" bet, and there's prior art - we exist, so that machine can (probably) exist.

Any thoughts on why the changes, now being made more quickly, aren't taking the systems to a more robust state? Is it just the same old "we're not paying off tech debt" complaint, now at hyperspeed, or is something about the speed creating new kinds of debt?
Most software systems aren't being made more robust because robustness in most orgs is still prioritized the same as it has always been, they're just shipping product faster. You could ship product with fewer defects at a slower pace, but that's not Moving Fast and Breaking Things™. Market forces dictate the speed at which product needs to ship, and you have to balance that with the defect rate to be competitive.
It’s almost code freeze time for many organisations, so people are pushing things out to close the year with something for performance review.

Also, if you flip a fair coin enough times, you’ll eventually get a streak that feels rigged or strange.

> Their code also has fewer defects per unit shipped than human-written code does

Nope, and here's why:

> when LLMs are used properly

Yeah, and when they (humans) keep failing to use something "properly" there is always "No True Scotsman" argument. Nothing new in this world, we had it before. FP, strong type systems, memory safety etc. Bugs keep coming though.

Don't just blame the programmers, either. Management mandates like "all developers must use X number of token per week" absolutely guarantee that LLMs are not used properly by most developers.