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

106 Upvotes

165 comments sorted by

View all comments

259

u/java-with-pointers 9d ago

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

48

u/7Roses 9d ago edited 9d 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

24

u/java-with-pointers 9d 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 8d 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 8d ago

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

13

u/Wonderful-Habit-139 8d 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 8d ago

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

2

u/java-with-pointers 7d ago

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

1

u/majeric 7d 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.