Skip to content

Latest commit

 

History

History
29 lines (21 loc) · 1.95 KB

File metadata and controls

29 lines (21 loc) · 1.95 KB

What is the Haiku Kata?

The Haiku Kata is an intermediate Code Kata with a set exercises that a developer can complete to familiarize themselves with the String APIs available in Eclipse Collections, as well as the chars() method available on the String class for the JDK section of the kata.

The domain of the Haiku Kata includes the HaikuCollection, TextProcessorEC, and TextProcessorJDK classes. The kata uses advanced features like Java Text Blocks, Java Records, and Switch Expressions which are available in JDK 17.

This kata is based on the following blog by Donald Raab: Haiku for Java using Text Blocks. The blog was also covered in JEP Café Episode #9 on YouTube by José Paumard: Refactoring Java 8 code with Java 17 new features.

Getting Started

Checkout the work on kata exercises section.

Run the tests for specific frameworks in the tests folder.

You will need to change code in the domain classes to get the tests to pass.