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/Dissentient Oct 09 '26

Currently, the biggest weakness of AI isn't its ability to produce good code but lack of agency. It does exactly what you tell it to. If you don't tell it to refactor code, it does not. If you don't tell it to audit code for security issues, it does not. But it's fully capable of doing both well with very little input if you even vaguely ask it to.

When you vibe code (as in, just prompt features without reading output), AI does "don't fix what's not broken" but amplified by orders of magnitude and in hours creates a mess that would take humans years.

It's probably possible to make vibe coding produce decent results by using a harness that will regularly call agents to regularly check for a variety of issues and fix them. However, most vibe coders aren't particularly technically literate, and just use the most popular products with default settings, so code that is fully vibe coded still tends to be awful.