Comment on AI-generated code contains more bugs and errors than human output
riskable@programming.dev 1 day agoThe mistakes it makes depends on the model and the language. GPT5 models can make horrific mistakes though where it randomly removes huge swaths of code for no reason. Every time it happens I’m like, “what the actual fuck?” Undoing the last change and trying usually fixes it though 🤷
They all make horrific security mistakes quite often. Though, that’s probably because they’re trained on human code that is *also" chock full of security mistakes (former security consultant, so I’m super biased on that front haha).
architect@thelemmy.club 5 hours ago
Oh, gpt def does that’s lol.
Even replaces large bits with just a …
But I don’t use it to rewrite code. I use projects to load everything into it and just ask for pieces that I’ll edit and insert. There’s something about it that works with my adhd in keeping track. It works well for me.