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?

106 Upvotes

168 comments sorted by

View all comments

1

u/Alarmed-Tell1315 16d ago

I don’t think there is one clearer than the style and density of comments. The code itself is as good or bad as human written code, specially with a good harness, it’s mostly undistinguishable nowadays.

So, someone telling you it’s vibe coded it’s telling you he thinks it’s bad code, and if no specifics are provided as follow up, you should ignore the comment.

5

u/Wonderful-Habit-139 15d ago

> The code itself is as good or bad as human written code

Not true.

> it’s telling you he thinks it’s bad code

Not true. Bad human code is different from bad AI code.

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.