Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.
 help



All you need is a JAVA_CODING_GUIDELINES.md with some hints about what kind of Java code you like the agent to write.

All you need is [to encode all of the lessons you’ve learned about style and best practices over your entire career into a single markdown file].

Sorry, couldn’t help myself.


> Plus Go compilation speed/test running provides quick iteration for LLMs

How is Java slow in any of these? Plenty of tricks e.g. AppCDS before the tests.


breaking changes? hardly.

Yes, breaking changes. And many ways to do the same thing because the language kept evolving (thankfully).

There is a decently long list of breaking changes now. Removing JavaEE modules from the JDK, and restricting sun.misc.Unsafe, are the ones people usually run into.

These are relatively small-scoped library changes only though.

Meanwhile Go already had a language change, while being less than half its age (loop variable capture).


A long enough list of small changes eventually equates to a big change. People generally can't update applications from Java 8 or below to a new one without code updates.

Mostly an automatic updater call (for javax->jakarta) and a few dependency bumps away in the majority of cases.

Plain vanilla java code is really backwards compatible, on both a syntax, and on a binary level.

You can often find decades old jars on some random university site, working with JDK 25 with no issue.


If hadoop did it, so can you. I'm talking about a project that stretched Java 8 to, and arguably beyond, its intended operational boundaries. Unlikely that you’re leaning on this boundary. It's Spring Boot upgrades that will be giving you troubles.

They clearly did have Java version issues, as the different Hadoop versions list ranges of JDKs they're compatible with.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: