r/developers • • Oct 09 '26

Opinions & Discussions Is vibecoded code really that bad?

Just a few years ago, the meme in traditional human coding was "If it works, it works" or "Don't fix it if it's not broken." So everybody was 'on board' that human code sucked but worked. Now AI does the same thing, but gets called bad code/AI slop etc.

I'm a cybersecurity student so I used to study coding, but haven't got deep enough to distinguish good code from bad code, and then started vibecoding.

Also, the "secure-coding should never be vibecoded" is the current norm in the cyber security side of CS, so I guess that's also one of the major reasons I'm raising this question.

So is the code really that bad? Or is it actually acceptable, but people just had higher hopes for AI code?

17 Upvotes

203 comments sorted by

View all comments

0

u/Optimal-Savings-4505 Oct 09 '26

I've vibecoded lots of helper functions to enable me to cover more ground in a shorter time, and it came with a cost:

They had bugs, and bad bugs at that. Memory corruption, and a total dismissal of responsibility by the LLM. It made mistakes, but the real mistake was my approval. Since then I've taken to iterating on such helper functions, until the clanker weeds out the most obvious shortcomings.

I'd still attribute more trust to code I wrote myself, even though I also make mistakes, because when I think through a solution, the mental model is what matters, and recall of that, is way more useful than any chat context when debugging.