r/java • • 7d 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?

103 Upvotes

165 comments sorted by

View all comments

52

u/it_happened_lol 7d ago edited 7d ago

Stateful comments that address the prompter and not the reader of the code. Some examples that come to mind:

// This gives you the biggest gain
(A.I agent addressing a developer who asked for more test coverage)

// Phase 2 of JIRA-4151 is resolved here, merge after JIRA-9415, blah blah...
(Describing a coordination plan in the comments that has already been completed)

22

u/_predator_ 7d ago

Recently started in a large org where they, let's say, embrace agentic coding. All code bases are full to the brim with your second example. Of course only the original author knows what those "phases" were.

What's funny is that agents will not fix or remove such dead comments unless you tell them to. So this crap keeps accumulating over time.