Why LLMs never pick Java: dev points to under-sampling in training data

HanchungLee · x · 2026-10-06

Responding to the question "why does AI never choose Java?", developer Hanchung Lee offers a simple explanation: Java is under-sampled in LLM training corpora.

The observation matches a common developer experience — when asking LLMs to write code, they almost always default to Python or JavaScript and rarely pick Java on their own.

Original post →

More from coding & agent

coding & agent channel →