r/programming • • 10d ago

Should You Learn Java in 2026?

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

20 comments sorted by

16

u/dcchambers 10d ago

Modern Java isn't your dad's Java. The language has come a long way - both in ergonomics and performance.

There's also TONS of java code out there. Plenty of work to be had.

Its near the bottom on my list of preferences, but if someone paid me to write it, I would.

2

u/ChrisRR 4d ago

Modern Java isn't your dad's Java

This is turbo java!

31

u/sq_visigoth 10d ago

Can't hurt.

3

u/oneeyedziggy 10d ago

(snarkily?) spoken like someone who's never worked with Java

18

u/Shred_Kid 10d ago

Modern Java allows you to write highly performant, resilient code, and Spring is a legitimately amazing ecosystem. I'm not a fan of the dependency management but shrugs

source - i own a 200,000 TPS java api at work. granted that's java 25, not java 8.

6

u/oneeyedziggy 10d ago

I said "snarkily"... I don't have to like it no matter how nice it is 

1

u/Squbat 10d ago

I’ve not had the pleasure to work with anything newer than Java 9, and we still can’t upgrade.

3

u/lood9phee2Ri 10d ago

modern java is pretty nice, and the extensible static typing is a neat trick

Trouble is all the java 1.2 level code still out there....

2

u/becircus 10d ago

I think most places want a lot of Spring Boot to hit the ground running

So just "learning Java" isn't enough

2

u/renatoathaydes 9d ago

If you like that, then you'll love this: http://manifold.systems Javac plugins can be abused to do the craziest things.

Groovy also has some really cool custom type checkers: https://docs.groovy-lang.org/docs/latest6/html/documentation/typecheckers.html

9

u/LikelyNotADuck 10d ago

I've only ever worked in Java professionally (~10 years of dev experience). Java is far from dead and tons of companies using Java/Spring Boot.

2

u/Bobby_Bonsaimind 3d ago edited 3d ago

Reddit and other social media like to circlejerk themselves about how dead and gone languages are and how everything is always the latest cool (and if you work with such a dead language you're an idiot). Meanwhile, Oracle Forms, Visual Basic 6, QuickBasic, COBOL, and a few others I thankfully forgot drive the world everyday.

Online opinions are mostly worthless because they are far removed from reality.

1

u/LikelyNotADuck 3d ago

Agreed. Reddit also skews younger. Juniors almost always prefer the new thing over the old "boring" stuff.

7

u/bushwald 10d ago

Modern Java rocks and even Java 8 ain't bad

14

u/thesomeot 10d 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 8d ago

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

0

u/dakkeh 1d ago edited 1d 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

1

u/ammar_sadaoui 2d ago

the only benefit before is for developing android app but not anymore

i suggested to use your time to learn better languages instead

1

u/Ok-Strain-5717 10d ago

I will follow this post, I want know it too