Hacker News new | ask | show | jobs
by nico_h 1696 days ago
What's a good way to learn about the proper way of writing java 11 in 2021 / 2022 ? I'm currently trying to escape writing java 1.5 style code in java 8.
1 comments

I think "Effective Java, 3rd edition" is a good book to have a look at. It is not entirely up to date but covers Java 8 features which are a must.

In general, I'd heavily recommend studying the usage of lambdas & streams. And Optional<T>. ;)