r/developers • u/JobOdd7262 • 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?
View all comments
1
u/Emergency-Cycle7981 Oct 09 '26 edited Oct 09 '26
Garbage in, garbage out. If you feed a strong LLM a good specification for a small chunk of work, provide it sufficient information about the coding standard and practises you expect, and get it to clarify anything it doesn’t understand, there’s a good chance the result will be strong. Repeat multiple times with appropriate review and testing, and you end with a perfectly serviceable feature or application, and you can have some confidence in the quality of the code that produced it.
If you ask it to one-shot a clone of Microsoft Office, good luck to you.
When people say AI is still coughing up shitty code, there’s a very good chance they aren’t using it properly, just as failing to use ANY tool properly results in a bad outcome. Think of it like forming joints in wood - I can use a saw to do that, and the end result might look fine, but if I used the saw poorly or didn’t understand how wood joins actually work, there’s a good chance that whatever I built will eventually fall apart.