Finance Certifications Goldman Sachs and Amazon Teams Trust
Free courses from frontend to fullstack and AI
Overview
Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
This course uses a Wordle checker kata to demonstrate Java 17 features, including records, streams, switch expressions, and pattern matching on sealed types. It also discusses how these choices can make complex code more readable.
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