Java 21 Pattern Matching Tutorial #RoadTo21

preview_player
Показать описание
Java 21 is the first Java release with all essential pattern matching features finalized: sealed types and type patterns in an improved switch; also final (and very helpful) are records and record patterns. We'll explore how these language features come together to allow pattern matching, what that means for Java developers, and how we can push these features further to implement a new (to Java) programming paradigm: data-oriented programming.

~~~ Chapters ~~~
0:00 Intro
1:31 Language Features
9:09 Pattern Matching
13:41 Data-oriented Programming
22:19 Outro

Tags: #Java #Java21 #Design #CleanCode #OpenJDK
Рекомендации по теме
Комментарии
Автор

Creation of this channel is probably next best thing Java people did after introducing 6 month release cadence. Keep up the good work people!

dmytroskarzhynets
Автор

Been doing Java since the 1.2 but discovered this channel only now... Gotta say, pleasantly surprised by the quantity and quality of the content here... You people did an amazing job with this series, hopefully more to come for the next releases... Thanks to all those who contributed to it!!

namero
Автор

You did such a great job not only displaying Java features but also packaging them in a nice and meaningful concept and feeding it to us. You really display awareness of how it is useful to have compilation errors over runtime errors, i.e. failing fast. You also display how a design pattern became a language feature and how to harvest that feature. What is great is that this knowlegde applies to any other language as well, speaking generally in terms of concepts. Thank you!

TBadalov
Автор

I saw a mohawk. I pressed like and subscribe. Nothing beats a mohawk in the corporate world.

picosdrivethru
Автор

Okay this is actually legit very cool and useful. Thanks java people

ZtereoHYPE
Автор

With this step we came even closer to Lisp. Congrats, everybody!

TBadalov
Автор

Very nice set of new features. Great video!

ahmedbahloul
Автор

This is HUGE. One of the reasons I love Rust is because of this!

barreltitor
Автор

for as much as I coud understand what you were explaining ... just brilliant !

gheorghe-ioanfodor
Автор

Thank you. Really enjoyed the Video! I am looking forward to the upgrade

Antiheldk
Автор

Thank you for this series. I would love to watch the next bit

NikitaKovalenko-jc
Автор

Great effort in the field of Java and great place to find the java update at one place

ShubhamYadav-ltdt
Автор

Pattern matching now is almost perfect as Rust.

Also if there is an enum optional it can be used with switch to handle all case and avoid NPE. Better if possible to handle such enum typed only with switch thus always restricting to handle all cases. As current enums can be handled even without switch.

Mohamedrasvi
Автор

These things are a prime example of why C# and Java competing with each other is fantastic for us.

darkopz
Автор

Thank you for your effort! I like your videos very much!

ivandenysenko
Автор

Great job everyone. I enjoyed all your videos.

Mardigan
Автор

great, looking more and more like haskell

satyrkrieg
Автор

Nice video! Note: the audio tracks are very distracting.

ivanocj
Автор

Had to wait whole 6 years and 11 java versions to get pattern matching, had been already using it in Kotlin. Not to mention Scala... Glad that Java people are taking note of other languages and concepts, but this is still very slow adoption rate despite the 6 month release cycle. I am much more excited for Green Threads and Structured Concurrency in Java. I encourage people to explore other languages. You can grow a beard and go bald with Java's speed of introducing new features to the language. And mention of lambda expressions introduced in Java 8 which was released over 9 years ago... made me chuckle.

Eslaron
Автор

The content covered is very good. Unfortunately a lot of extra background noises which is very distracting. Also it would be great of we could show more code than the presenter himself. I was very interested in seeing what he is typing than how he is typing. Thanks.

roshinivr
join shbcf.ru