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

108 Upvotes

165 comments sorted by

View all comments

Show parent comment

3

u/Cell-i-Zenit 9d ago

Defensive bullshit that no one should worry about. Like record constructors for dtos that copy collections.

alot of guards in a class for null etc, which were already ruled out earlier etc.

For example you have a relationship with hibernate and call parent.getChilds(), and the ai is doing a null check on that for some reason