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

Natural Language Processing
Columbia University via Coursera
Intro to Algorithms
Udacity
Conception et mise en œuvre d'algorithmes.
École Polytechnique via Coursera
Paradigms of Computer Programming
Université catholique de Louvain via edX
Data Structures and Algorithm Design Part I | 数据结构与算法设计(上)
Tsinghua University via edX