Java has decade(s) of cruft and breaking changes which LLMs were trained on. It's hard to compare. Plus Go compilation speed/test running provides quick iteration for LLMs.
All you need is a JAVA_CODING_GUIDELINES.md with some hints about what kind of Java code you like the agent to write.
breaking changes? hardly.
All you need is a JAVA_CODING_GUIDELINES.md with some hints about what kind of Java code you like the agent to write.