YoVDO

Leveraging Java 17 Features to Create a Wordle Checker

Offered By: Java via YouTube

Tags

Java Courses Algorithm Design Courses Code Optimization Courses Sealed Types Courses

Course Description

Overview

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

Related Courses

Algorithms, Part I
Princeton University via Coursera
Introduction à la programmation orientée objet (en Java)
École Polytechnique Fédérale de Lausanne via Coursera
MongoDB for Java Developers
MongoDB University
Initiation à la programmation (en Java)
École Polytechnique Fédérale de Lausanne via Coursera
Intro to Java Programming
San Jose State University via Udacity