Hacker News new | ask | show | jobs
by santiagobasulto 285 days ago
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?

2 comments

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.

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.
What’s wrong with Jakarta? (Genuinely curious)
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.

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.