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.
More from coding & agent
- OpenAI ships compaction in Responses API; devs debate if it kills differentiation — zeeg · 2026-10-06
- Dev builds Claude Code skill that writes better HTML plans with plain language, mockups and linting — trq212 · 2026-10-06
- OpenAI ships compaction in Responses API, sparking vendor lock-in debate among developers — pvncher · 2026-10-06
- DoorDash launches MCP and CLI for agentic ordering; dev auto-restocks office pantry with camera — Scobleizer · 2026-10-06
- zeeg warns labs against vendor lock-in via compaction: 'focus on models, not locking customers' — zeeg · 2026-10-06
- Anthropic ships Claude Code mods: TypeScript functions that rewrite prompts and UI — thione · 2026-10-06