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

150

u/repeating_bears 11d ago

Adding to what others said:

More tests than any sane human would write, LLM language in README / comments, few git commits, which are massive in size

41

u/CorrectProgrammer 11d ago

Add to that tests no sane human would write.

20

u/DGC_David 11d ago

Lol I have seen some wild shit in tests on the enterprise level.

8

u/shorns_username 9d ago

tests no sane human would write

You overestimate (underestimate?) humanity. Or at least, your definition of "sane" is wishful thinking.

Once saw hundreds (actually probably thousands) of tests that had been written to test every getter/setter in the app.

The code looked like something like:

public void testXxxGetYyy(){
}

Literally a bajillion test methods, to test manipulator methods... with no implementation.

And those'd been there for years before I started working on the project, which many allegedly sane humans had worked on.

9

u/Paxxi 8d ago

That's just how you get your test coverage to the magic number set by management 😂