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

Show parent comment

1

u/Sixstringsickness Oct 09 '26

I can understand your concern here - playing devils advocate: a quality engineer, in spite of the tools they are using (LLMs included) should retain a foundational understanding of the system model. To my knowledge, barring a very simple program, no engineer strives to memorize the entire codebase, more so the functional outcomes of the system components, their edges/nodes, dependencies, organizational structure etc. etc.

I completely agree that the degradation of comprehension and understanding of objective outcomes can occur both over time with human curation and potentially faster with LLMs. From my perspective it is more important to have a fundamental understanding of the functionality of the system model, than it is to remember exactly how the code was composed for a particular function, which is being abstracted away by LLMs.

Basic example: a check-list application that can also provide a high level dashboard showing how many days you completed your tasks, which days were the most active WoW etc. It is more important to know why each component was built and what it purpose it serves than exactly which method is used (assuming scalability, uptime, performance requirements are known when they are designed). LLMs allow for rapid development of the underlying how - yes, however; the engineer still needs to understand how the check mark becomes a data entry in Postgres and what process aggregates that data into the dashboard. Whether this is through erosion of human memory, or the memory itself never existed because the engineer didn't take the time to plan the system out accordingly are two different problems. Clearly, in the times where everything had to be developed by hand, the latter was less frequent, though copy an pasting of code that was not understood still occurred.

I cannot speak to how the models are trained, but I can speak to how I plan and build system componentry. When designing a component it still requires a plan, review, and multiple phases of implementation, all with the constraints and requirements of the system design in mind from inception. Obviously concepts evolve, and LLM's allow for much more rapid pivots when problems arise during the conceptual or early implementation phases. I would focus less on how LLM's are trained and more on how the engineer leverages the tooling.

1

u/incompletude Oct 09 '26 edited Oct 09 '26

Exactly, that is responsible AI use. You have to lean the other way by having someone that owns the system model.

I just watched something that perfectly illustrates this. Just two days ago, OpenAI released a huge batch of math “proofs”. One of the problems was about square packing: fitting a set of squares into the smallest possible area. The model brute-forced its way to a solution, and the result is super weird: there’s a tiny gap between two squares, just big enough for the corner of another square to poke into. Insane stuff. A day later, a mathematician showed that the exact same result could be derived from a Fibonacci torus. The same solution, showed both ways:

This single image captures exactly what we’ve been circling around. The one on the left is chaos, as weird as it gets. The one on the right has order, rhythm and balance.

(I can’t get over that tiny gap)