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

Java Basics Course (How To)
Treehouse
Python: aprender a programar
Universitat Politècnica de València via edX
Search a String Variable with JavaScript Methods
Coursera Project Network via Coursera
JavaScript Strings: Properties and Methods
Coursera Project Network via Coursera
Learn C++ by Creating
Udemy