YoVDO

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

Offered By: Java via YouTube

Tags

Java Courses Functional Programming Courses String Manipulation Courses

Course Description

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
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

Related Courses

Functional Programming Principles in Scala
École Polytechnique Fédérale de Lausanne via Coursera
Functional Program Design in Scala
École Polytechnique Fédérale de Lausanne via Coursera
Paradigms of Computer Programming
Université catholique de Louvain via edX
Introduction to Functional Programming
Delft University of Technology via edX
Paradigms of Computer Programming – Fundamentals
Université catholique de Louvain via edX