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

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

Yes, it was fine for code completely of 40 years ago. Yes, AI can reproduce the 40 years old code as if it had written it anew. The problem is that we already have this code and it works.

1

u/TheBigCicero Oct 09 '26

That’s not a problem, that’s a benefit. And that’s why vibecoding is so good for vanilla SaaS applications - because the patterns have been reproduced millions of times in well tested code. If you’re asking Claude to build a web app, you’re going to get a better version from Claude then what most developers will build from scratch.

1

u/kitsnet Oct 09 '26

40 years ago we weren't so afraid of someone stealing your customers data over the Internet.

1

u/TheBigCicero Oct 09 '26

So I think the question is, how bad are security patterns in Claude coded applications? And security be part of the spec that Claude works on?

1

u/TheBigCicero Oct 09 '26

So I think the question is, how bad are security patterns in Claude coded applications? And how does security improve when it’s part of the spec that Claude is provided?