Comprehension Debt: The Ticking Time Bomb of LLM-Generated Code (codemanship.wordpress.com)
from codeinabox@programming.dev to programming@programming.dev on 12 Oct 2025 16:55
https://programming.dev/post/38964103

#programming

threaded - newest

Valmond@lemmy.world on 12 Oct 2025 17:58 next collapse

I mean lots of code was not up to scratch even before this craziness.

javasux@lemmy.world on 12 Oct 2025 18:13 next collapse

Immense copium

codeinabox@programming.dev on 12 Oct 2025 21:52 collapse

Exactly but generative AI has exacerbated the problem

What is new is the scale of the problem being created as lightning-speed code generators spew reams of unread code into millions of projects

fxdave@lemmy.ml on 13 Oct 2025 00:42 collapse

I used claude code to migrate a small rust project from raw sql to an ORM. It was next level. In a timespan of a small bug fix I could rewrite the data model. It tested the code, it fixed the errors, I was amazed. I reviewed every change, so I could spot problems like migration would fail with prod data. I wrote a new prompt to fix that and it fixed.

For anybody new to claude code: It’s a tui app where you can log in and write prompts for the project in the current directory. The way it works, it searches files in the project based on the prompt, and it locates the related code sections. So it gathers the context pretty well. It can suggest changes, it can suggest running CLI commands, it can read its output. It reacts to itself. You can accept or intercept and correct it anytime.

I ran it in docker just in case.

In summary, this is a real deal, but of course the code needs to be reviewed. Sometimes, it produces, simply put, unmaintainable code, that shouldn’t be used. Works or not, it should move.