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

165 comments sorted by

View all comments

Show parent comment

2

u/RiceBroad4552 1d ago

TDD was always mostly nonsense. No wonder "AI" picked it up so eagerly.

You can do TDD only when you have a fully worked out spec in hand, which is for "usual commercial development" never.

1

u/chabala 11h ago

There's nothing about TDD that requires the world's most complete spec. It's about testing for your known requirements first: keeping the design testable, deferring choices until they're required, red/green/refactor, writing the minimal code to keep tests satisfied. Nothing stops you from refining the requirements as you go.