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?

105 Upvotes

165 comments sorted by

View all comments

Show parent comment

2

u/Kwese_ 6d ago

Flat class structures, where inner classes might make more sense

In my experience it's the complete opposite. AI loooves to extract things into separate classes, be it inner classes or just regular classes, even when it makes no sense at all.

What I would add: AI also loves to put everything in a helper function. I've seen AI extract Boolean.TRUE.equals(x) into a isTrue(x) helper function.

2

u/Zatujit 5d ago

"I've seen AI extract Boolean.TRUE.equals(x) into a isTrue(x) helper function" tbf sometimes i do thins like this