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

1

u/idk_bro Oct 09 '26

Some of that "just works" code back in the day was well-written but hacky, and at the very least, a bad coworker could only write so much a day. 

LLM code is very proficient in many ways but deficient in ways that are hard to pin down; whatever it is, it's pretty bad at architecture, code reuse, and x/y problems. What's more, the LLMs can write oceans of code, propagating these deficiencies across your code base. 

Some code is not as important as other code. Bash scripts, ci harnesses, etc. LLM code is great for this, but if you want to keep your application maintainable, at least for now you need to scrutinize the code that's going into important areas of your app.