Refactoring Java 8 code with Java 17 new features - JEP Café #9
How to use the new features from Java 17, especially Records, to improve your Java 8 code. Do you need to make your code easier to understand without losing ...

Java
70.7K views • Feb 1, 2022

About this video
How to use the new features from Java 17, especially Records, to improve your Java 8 code. Do you need to make your code easier to understand without losing performance? This JEP Café shows you how to do it.
Submit your katas for more live coding like this one!
Tags: #Java #OpenJDK #Java17 #JDK #JDK17 #Record #Programming #JEPCafe #InsideJava
⎯⎯⎯⎯⎯⎯ Chapters ⎯⎯⎯⎯⎯⎯
0:00 Intro
1:02 Introducing the Haiku Katas
1:58 1st kata: finding all the letters used in a String
3:37 Comparing the performances
3:53 2nd kata: getting the top 3 most used letters
8:26 Solving the tie problem by inverting a map
12:28 Improving the code with Java 17 features: Records
20:30 Comparing the performances
21:16 3rd kata: partionning the words
22:54 Partionning the words in one pass
23:57 Comparing the performances
24:32 Outro
⎯⎯⎯⎯⎯⎯ Resources ⎯⎯⎯⎯⎯⎯
◦ Donald Raab Haiku Katas ➱ https://medium.com/javarevisited/haiku-for-java-using-text-blocks-6b7862ccd067
◦ JEP 395: Records ➱ https://openjdk.java.net/jeps/395
◦ The Eclipse Collections framework ➱ https://www.eclipse.org/collections/
◦ How to use JMH ➱ https://openjdk.java.net/projects/code-tools/jmh/
◦ JDK 17 ➱ https://openjdk.java.net/projects/jdk17
◦ Dev.java, The Destination for Java Developers ➱ https://dev.java/
◦ OpenJDK ➱ https://openjdk.java.net/
◦ Oracle Java ➱ https://www.oracle.com/java/
Submit your katas for more live coding like this one!
Tags: #Java #OpenJDK #Java17 #JDK #JDK17 #Record #Programming #JEPCafe #InsideJava
⎯⎯⎯⎯⎯⎯ Chapters ⎯⎯⎯⎯⎯⎯
0:00 Intro
1:02 Introducing the Haiku Katas
1:58 1st kata: finding all the letters used in a String
3:37 Comparing the performances
3:53 2nd kata: getting the top 3 most used letters
8:26 Solving the tie problem by inverting a map
12:28 Improving the code with Java 17 features: Records
20:30 Comparing the performances
21:16 3rd kata: partionning the words
22:54 Partionning the words in one pass
23:57 Comparing the performances
24:32 Outro
⎯⎯⎯⎯⎯⎯ Resources ⎯⎯⎯⎯⎯⎯
◦ Donald Raab Haiku Katas ➱ https://medium.com/javarevisited/haiku-for-java-using-text-blocks-6b7862ccd067
◦ JEP 395: Records ➱ https://openjdk.java.net/jeps/395
◦ The Eclipse Collections framework ➱ https://www.eclipse.org/collections/
◦ How to use JMH ➱ https://openjdk.java.net/projects/code-tools/jmh/
◦ JDK 17 ➱ https://openjdk.java.net/projects/jdk17
◦ Dev.java, The Destination for Java Developers ➱ https://dev.java/
◦ OpenJDK ➱ https://openjdk.java.net/
◦ Oracle Java ➱ https://www.oracle.com/java/
Tags and Topics
Browse our collection to discover more content in these categories.
Video Information
Views
70.7K
Likes
1.6K
Duration
25:08
Published
Feb 1, 2022
User Reviews
4.7
(14) Related Trending Topics
LIVE TRENDSRelated trending topics. Click any trend to explore more videos.