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

99 Upvotes

161 comments sorted by

View all comments

Show parent comment

5

u/Spandian 5d ago

javadocs that are just "uncamelcasing" a field or method argument(like @angularAcceleration - the angular acceleration

That's not an AI thing... IDEs have been able to put boilerplate comments on everything for decades.

7

u/da_supreme_patriarch 5d ago

Correct, but that's completely useless by itself and is supposed to just be a scaffolding for the actual docs, a human doesn't really leave the autogenerated docs in the ide-generated state unless there is nothing to document, but the project rules require every public API to be have javadocs, and as far as I am aware not many projects do that

6

u/vytah 4d ago
/**
 * Sets the up
 */
public void setUp() {

2

u/koflerdavid 5d ago

And LLMs have learned to reproduce that instead of inferring what the purpose of the field is.