r/programming • • 25d ago

Should You Learn Java in 2026?

https://fagnerbrack.com/learn-java-in-2026-or-dont-b9f619da442d
0 Upvotes

21 comments sorted by

View all comments

14

u/thesomeot 25d ago

In my experience, modern .NET outclasses Java in most regards for "standard" enterprise development. Java still has it's strengths, but I can think of very few reasons I would pick it for a new project.

5

u/Apofis 24d ago

async/await though ... I much prefer Loom's fiber model.

0

u/dakkeh 16d ago edited 16d ago

I've been in this battle a lot, and for those ways that .NET is better, people often argue "insert X into their build tool chain" can solve that, or there's a JRA for that.

The fact of the matter is .NET has those features built-in as a first class citizen way before Java adds them, and for certain things, you won't even get an actual implementation unless spring or apache makes it.

For syntax, now you'll need an IDE extension , and for APIs, this creates a lot of shit on top of your base stack to be stable from dependency hell. and to top it off, java doesn't technically even have "official" tooling for resolving dependencies.

Also, real talk favorite .NET feature, the Expression type is an intrinsic which gives you an AST. This is what empowers external data source queries to be statically typed with Linq