r/java • • 16d ago

Telltale signs of Vibecoding in Java?

Someone recently flagged one of my mods as being "obviously vibecoded" (which it wasn't), so I appealed the decision. just out of curiosity, what exactly are the signs people are seeing when accusing code of being vibecoded?

109 Upvotes

168 comments sorted by

View all comments

Show parent comment

1

u/Alarmed-Tell1315 15d ago

In what ways, can you be specific? This are demonstrable facts, not my opinion.

Read the study titled: Human-Written vs. AI-Generated Code: A Large-Scale Study of Defects, Vulnerabilities, and Complexity

Human code tends to have more complex failure profiles, have less repeated code, have more unused constructs, less hardcoded debugging, more maintainability issues,and have almost identical vulnerabilities, compared to LLM generated code.

Average quality is about the same, the problem is not generated code, the problem nowadays is cognitive debt (when humans stop understanding how the system works and hand everything to agents). But the code itself in average, is indistinguishable from human code unless meticulously analyzed.