AI generated code is not useful
AI generated code is not useful
Posted Aug 10, 2025 11:05 UTC (Sun) by alx.manpages (subscriber, #145117)Parent article: On the use of LLM assistants for kernel development
— Brian W. Kernighan and P. J. Plauger in The Elements of Programming Style.
The people defending that LLMs might make it easy for new programmers (which are otherwise unable to contribute code) to contribute code, somehow expect those new programmers to be able to review the code produced by an LLM?
And for people that are already good programmers, will this reduce the work? Or will it increase it?
You've changed the task of authoring code --in which case you often self-restrict to a set of coding standards that significantly reduce the possibility of bugs--, to the task of reviewing code --which by nature is already twice as hard--, and fully unrestricted, because you can't trust an LLM to consistently self-restrict to some rules. The bugs will appear in the most unexpected corners.
Even for reviewing my own code, I wouldn't use an LLM. Reason: it might let two bugs pass for each one it catches, and I might have a false feeling of safety. I prefer knowing the limits of my deterministic tools, and improve them. And finding quality reviewers. That's what it takes for having good code.
Abandon all hope, ye who accept LLM code.
