Life beyond Java 8

preview_player
Показать описание


Trisha Gee talks about Java 8, wondering whether we should move to a later version, which one to choose, what sorts of issues we might run into if we do choose to upgrade, and how the support and license changes that came in with Java 11 might impact us.

#Java8 #Java11 #Migration #InfoQ #QConLondon
Рекомендации по теме
Комментарии
Автор

15:40 I actually didn't like the `var` keyword. It may be less typing but it requires more to figure out what that type is. Also you may get the concrete type rather than the interface when you wanted to the compiler to verify that only the interface is being used. I tried it on C# when first and it was a pain to read through the code later.

What's missing is what typescript has which is `type` which allows you create an alias for a long generic type so it is shorter and readable.

19:02 the List.of, Set.of and Map.of is probably one of my most favorite features of post JDK8

ArchimedesTrajano
Автор

11:28 ... so Java is learning from JavaScript now?

sanderd
join shbcf.ru