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

97 Upvotes

161 comments sorted by

View all comments

250

u/java-with-pointers 5d ago

A lot of comments, comments on code that was deleted explaining why it was deleted, lack of reusability

47

u/7Roses 4d ago edited 4d ago

You just described the common signs of java legacy code šŸ¤” Edit: with the difference legacy code method names probably are some cryptic name that needed the comment for clarification

23

u/java-with-pointers 4d ago

Legacy code can mean a lot of things but I've worked with quite a few such codebases and they never looked like that.

5

u/koflerdavid 4d ago

Already a 3:1 relationship between comments and code would be a dream for legacy code. Now, those comments are actually not always immediately useful since people might have forgotten to keep them all in sync with what is actually going on, but it is telling something, and commit history would make it possible to unravel that wall of graffiti.

2

u/vytah 3d ago

That's why many people say LLMs are tools for instantly creating technical debt.

13

u/Wonderful-Habit-139 4d ago

Lmao, bonus points when it's deleted code in a PR that wasn't merged to main yet. Like why are you adding in a changelog something that only existed in a branch and never in the main branch? Sigh...

-11

u/majeric 4d ago

Well written, well commented code… vibe coding sounds horrific.

2

u/java-with-pointers 3d ago

Whats horrific is you assume there's nothing more to programming than writing code that looks good at a glance

1

u/majeric 3d ago

What’s more horrific is your transparent strawman fallacy. I never said ā€œat a glanceā€.

In my experience, LLMs like Claude Opus 5.5 perfectly capable of writing clean, clear code.