News for hackers. Stuff that matters.
Re:All New Java Language Features Since Java 21 by santiagobasulto on Saturday September 06, 2025 @11:24AM (#45150100)
This is amazing news! Two questions for you:

- how’s the environment? Build tools, dependency management, etc. it used to be a PitA back then. - how has the typing system and generics evolved to support this? Have they introduced any type of variance?

Re:All New Java Language Features Since Java 21 by tombert on Saturday September 06, 2025 @11:53AM (#45150359)
Generics still kind of suck but they’re workable enough. As far as I am aware they’re broadly unchanged and I don’t think they added any kind of new variance.

It turns out, though, it’s still good enough for sealed interfaces and the like; I don’t have too many issues with it, though that might just be Stockholm syndrome at this point.

Maven is terrible as always but Gradle is generally fine. I use IntelliJ community edition solely for Java and it works well enough for what I need.

It’s not like Java is going to replace F# for me or anything, but I do genuinely think it’s more fun to write now than it used to be.

Re:All New Java Language Features Since Java 21 by vips7L on Saturday September 06, 2025 @11:00PM (#45155016)
Maven is generally fine. The only complaint anyone has is “xml bad”. Outside of that maven is probably (?) better than gradle. At least it prevents a custom scripting mess.
Re:All New Java Language Features Since Java 21 by jfengel on Saturday September 06, 2025 @11:34AM (#45150200)
Maven still sucks.

IntelliJ IDEA is genuinely great. It helps that they were the ones who developed Kotlin, and a fair bit of the actual language changes were gacked from Kotlin. (Or you could say "prototyped and shown valuable in Kotlin".)

They are still hampered by lousy nullable support.

You didn't ask, but Spring still sucks. It's not part of the language but it's a ubiquitous framework.

Re:All New Java Language Features Since Java 21 by tombert on Saturday September 06, 2025 @12:33PM (#45150706)
It’s amazing that Java has access to really great, high performing web toolkits like Vert.x and even Play, and yet the entire enterprise Java world has converged on Jakarta and Spring. I don’t like Spring but in my mind there is a special place in hell for Jakarta/JavaEE.
Re:All New Java Language Features Since Java 21 by fru654 on Saturday September 06, 2025 @02:38PM (#45151790)
What’s wrong with Jakarta? (Genuinely curious)