Java Language Futures: Late 2021 Edition

preview_player
Показать описание
Take a whirlwind tour of some of the language features that are coming to Java, starting with JDK 17, as well as updates planned for the coming months and years.

⎯⎯⎯⎯⎯⎯ Chapters ⎯⎯⎯⎯⎯⎯
00:00 Intro
01:02 The rapid evolution of Java
02:42 Project Amber
04:55 JEP 406: Pattern matching for switch (Preview)
04:21 Major Language Theme: Pattern Matching
06:23 Revision: Type Patterns
10:00 Revision: Switch Expressions
13:23 Now on to JEP 406
23:32 What's coming up in JDK 18?
30:39 Conclusions

⎯⎯⎯⎯⎯⎯ Resources ⎯⎯⎯⎯⎯⎯

Categories: #Java #Java17 #Development
Рекомендации по теме
Комментарии
Автор

Nice explanation. Kudos to project Amber team and to Java/Oracle communities.

arthurezeagbo
Автор

What I'd like to see addressed in Java is the clunky IO, where you have to write nested 'with' blocks for every wrapper class you want to initialize over a low-level stream.
The second thing that would be nice are python or matlab-style array indexing methods.

At the end of the day though, I find that many languages make the speed at which you can write something their selling point, but when it comes to reading someone else's code, you're on your own. In the spirit of readability I say: Never introduce extension methods!

shadowinlight
Автор

Yeah Scala had these features in 2010.

ZelenoJabko