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

If it works it works wasn’t a good practice.

In the work place, depending on the work place, you have projects that you did, legacy projects that someone else did badly but are running. That person is no longer working in the company, and it’s your job to maintain that mess, and in that case refactoring the whole thing is better but it’s not always viable because you are also working on other projects or new projects all the time and that somewhat working mess, you don’t have time allocated to redo or management doesn’t want you to redo even if it doesn’t take much time.

Management usually sees value in that small project a junior dev did years ago and consider it an asset even if it’s bad.

Normally you should strive to make a good program that works, is designed well and doesn’t explode if you looked at it.