Clean Code with Records, Sealed Classes and Pattern Matching by José Paumard

  Рет қаралды 24,620

Devoxx

Devoxx

Күн бұрын

The releases of the JDK 17 to 19 bring interesting features in the Java language: sealed types, pattern matching for switch (as a preview feature). Along with the introduction of records, the implementation of pattern matching in the Java language begins to take shape. The JDK 19 brings even more with Record pattern matching (as a preview feature), that further simplifies your code. In this presentation we show you how records are working, how you can use them to make your code much more readable, and how you can leverage sealed types and switch expressions to improve the modularity of your application. You will see pattern matching in action on real examples, how it will change the way you write Java code, and what you can expect on this topic in the future. It is mostly a live coding presentation, with some slides when the code shown cannot be executed.
JOSÉ PAUMARD
José works as Java Developer Advocate at Oracle. PhD in applied maths and computer science, assistant professor at the University Sorbonne Paris Nord for 25 years, he is a Java Champion Alumni and JavaOne Rockstar. He is a member of the french Paris Java User Group, has been a co-organizer of the conference Devoxx France, and is a disorganizer of JChateau, an unconference held in the Chateau of the Loire Valley. He works on the dev.java documentation and community website, publishes the JEP Café, a monthly video cast on KZbin, and maintains a french KZbin channel with more than 80 hours of Java courses. He is also a Pluralsight author in the Java space.
------------------------------------------------------------
INTRO
* visuals & editing by @Mercator
* music : Avocado by Ephixa

Пікірлер: 21
The Art of Java Language Pattern Matching by Simon Ritter
50:22
WORLD BEST MAGIC SECRETS
00:50
MasomkaMagic
Рет қаралды 48 МЛН
The Joker wanted to stand at the front, but unexpectedly was beaten up by Officer Rabbit
00:12
The Amazing Features of Modern Java  - Venkat Subramaniam
1:02:01
Developer Summit
Рет қаралды 30 М.
GC Tuning & Troubleshooting Crash Course | Ram Lakshmanan
52:02
JAX London
Рет қаралды 29 М.
Revisiting Design Patterns after 20 by Edson Yanaga
48:24
James May finally drives the Tesla Cybertruck
14:15
James May’s Planet Gin
Рет қаралды 5 МЛН
Let’s Set the Records Straight
53:06
IntelliJ IDEA, a JetBrains IDE
Рет қаралды 7 М.
WORLD BEST MAGIC SECRETS
00:50
MasomkaMagic
Рет қаралды 48 МЛН