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

104 Upvotes

167 comments sorted by

View all comments

Show parent comment

-9

u/emberko 14d ago

One of the things I'm grateful to AI for is that it killed the TDD shit now and forever.

6

u/space-bible 14d ago

It killed TDD?

1

u/repeating_bears 14d ago

TDD as a methodology is to write the tests before the impl, so that you learn what the interface should be, basically. There are not many people prompting an LLM to write the tests before the impl. It all gets done together. (tbf there were not many people doing "true TDD" before AI either)

2

u/Tasorodri 14d ago

I've specifically seen a lot of people that work extensively with an agentic workflow to specifically have the agents work in TDD.

1

u/bitspace 13d ago

I don't even have to prompt it to - literally every model I use now starts with red tests.

3

u/Rasutoerikusa 13d ago

? I've seen the opposite where humans write and specify tests, after which llm implements it according to it. At least I've seen a new rise in TDD in the past year

3

u/koflerdavid 13d ago

Now you actually gave me an idea. Most people don't like TDD because writing tests sucks. They prefer to write the implementation. But how about letting the LLM write tests only and thus isolate the slop to the test suite?