Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Refactoring Java 8 Code with Java 17 New Features - JEP Café Episode 9

Java via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Explore how to refactor Java 8 code using Java 17's new features, particularly Records, in this 25-minute JEP Café video. Learn to enhance code readability without sacrificing performance through practical examples, including finding unique letters in a string, identifying top used letters, and partitioning words. Compare performance metrics, solve tie-breaking challenges, and discover how to leverage Java 17's Records for cleaner, more efficient code. Gain insights into the Haiku Katas, Eclipse Collections framework, and JMH benchmarking tool while improving your Java programming skills.

Syllabus

Intro
Introducing the Haiku Katas
1st kata: finding all the letters used in a String
Comparing the performances
2nd kata: getting the top 3 most used letters
Solving the tie problem by inverting a map
Improving the code with Java 17 features: Records
Comparing the performances
3rd kata: partionning the words
Partionning the words in one pass
Comparing the performances
Outro

Taught by

Java

Reviews

Start your review of Refactoring Java 8 Code with Java 17 New Features - JEP Café Episode 9

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.