5 ms·
I’m a huge Java fan, modern versions are amazing, but being stuck on 8 is the only time I’d recommend just using Kotlin or Scala and compiling to v8 byte code.
by vips7L 11mo ago
I’m a huge Java fan, modern versions are amazing, but being stuck on 8 is the only time I’d recommend just using Kotlin or Scala and compiling to v8 byte code. 8 is just a miserable experience.
- tapete2 11mo agoDo you happen to know some good learning resources (books, etc.) for modern Java versions? My last job used Java 8 exclusively and it was indeed a miserable experience, but I am contemplating using modern java for my next project.
- vips7L 11mo agoThis is unpublished still but is worth checking out: https://www.manning.com/books/data-oriented-programming-in-java https://www.manning.com/books/data-oriented-programming-in-j... Other than that, I think we’re all waiting for Josh Bloch to put out Effective Java 4th edition. The main benefits of the post-8 world that I would look into learning are: pattern matching and destructuring, sealed (sum) types, records, and switch expressions. In the library/framework space I think learning about quarkus, microprofile, and jakarta data would be valuable. It’s looking like that’s the future of Java on the server. Less important things to learn about would probably be runtime changes like virtual threads, ZGC, or the AOT cache stuff coming out of project Leyden. Long term things to keep an eye on are value classes if we ever get them.