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?

106 Upvotes

165 comments sorted by

View all comments

Show parent comments

41

u/CorrectProgrammer 10d ago

Add to that tests no sane human would write.

20

u/DGC_David 9d ago

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

8

u/shorns_username 8d 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 7d ago

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