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

YouTube

Leveraging Java 17 Features to Create a Wordle Checker

Java via YouTube

Overview

Explore how to leverage Java 17's new features, including Records, Switch Expression, and Pattern Matching for Switch, to create a Wordle Checker in this 38-minute tutorial. Learn to write readable code for complex algorithms, starting with Wordle rules and the Wordle Checker Kata. Progress through implementing a plain Java SE 17 solution, enhancing it with Records, utilizing Streams to eliminate for loops, and employing Switch Expression and Pattern Matching on Sealed Types to remove if statements. Discuss Record design, optimize code by hiding streams, and gain insights into effective Java programming techniques for solving real-world challenges.

Syllabus

Intro
Wordle rules
Introducing the Wordle Checker Kata
Describing the Eclipse Collections solution
Writing a first, plain Java SE 17 solution
Using Records to improve the solution
Using Streams to remove for loops
Using Switch Expression and Pattern Matching on Sealed Types to remove `if` statements
Discussing the design or your Records
Hiding the stream in a record to clean the code
Final words and outro

Taught by

Java

Reviews

Start your review of Leveraging Java 17 Features to Create a Wordle Checker

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.