Re:To learn a new language, read its standard library
by nico_h on Monday October 25, 2021 @05:24AM
(#28985916)
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.
[ Parent
| on HN ]
Re:To learn a new language, read its standard library
by evercast on Monday October 25, 2021 @11:25AM
(#28988876)
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>. ;)