Java 21 Record Patterns and Pattern Matching | Making Switch Great Again
Vložit
- čas přidán 22. 10. 2023
- Java 21 was recently released with a lot of goodies now out of preview and ready to use. Unlike virtual threads, Java 21 changes related to switch statements, record patterns, record deconstruction, and pattern matching are things every developer should know now. Some of them will give you a big boost for Java code efficiency and readability, as well, so learn them now.
I made a short video that combines a lot of improvements to switch statements in Java 21, compared to how it was originally released. I hope you like this! As always, don't be shy to leave feedback, comments, likes, or video requests as you see fit. Also, see my other Java 21 content unless you have already watched it.
Links in the video:
- openjdk.org/jeps/440
- openjdk.org/jeps/441
- openjdk.org/jeps/443
one of the earliest videos about java 21 features. good job 👍
Thank you, I appreciate! I had a head start looking into these already in the earlier versions :p
Very informative video. Nice one.
Thank you! Much appreciated!
Nice explanation!
Thank you! Much appreciated!
Well done. Also +1 for extolling the virtue of functional programming towards the end of your video.
Hahaa, thank you! :)