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?
96
Upvotes
View all comments
16
u/da_supreme_patriarch 4d ago
Comments where they don't belong(on dependency imports, build files etc.) javadocs that are just "uncamelcasing" a field or method argument(like @angularAcceleration - the angular acceleration) or just the exact method name in plane English, tautological and heavily coupled to the actual code unit tests(test code checks that the code executes exactly as written, even the slightest deviations in actual code will break the test regardless of what the change is, eve if the program's logic is unaffected), unit tests for toString implementations of random classes where the toString would only affect the logs, random "javascriptisms", a few utils classes even when apache commons, guava or spring are in the classpath, code that is extremely paranoid about null-checking, not using java.time classes for date handling even when the JDK is well above 8, disdain for Optional-s, limited use of records and sealed types(this is a problem specifically with OpenAI models, Claude is somewhat ok here), not using lombok when it's in the classpath and is actively used, randomly introducing lombok to a project that doesn't use it, and a few other things