Using Switch Expression and Pattern Matching on Sealed Types to remove `if` statements
9
Discussing the design or your Records
10
Hiding the stream in a record to clean the code
11
Final words and outro
Description:
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.
Leveraging Java 17 Features to Create a Wordle Checker