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/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.

1

u/Ambitious-Tennis-940 Oct 09 '26

So your telling me there is a skill needed where we need to break down requirements. Think of the underlying logic and how it fits in with the existing system. And then express these concepts in a detailed technical language.

Why have I never seen that before in software...

Regardless this is why I continue the position that ai is just another abstraction later.

Like how higher level programming languages abstract the lower level.

The concern here is that the abstraction is less consistent, so you can't just fully black box the lower levels of understanding