About This Episode

Next up is the string calculator kata. Our job is to create a class with a single public method that accepts a string of numbers to add. However, as part of the kata, a number of requirements must first be met, such as disallowing negative numbers and ignoring numbers greater than 1,000. Let's get started.

View the source code for this episode on GitHub.

Published on Jan 8th, 2020.

Discuss It


    1. Programming Katas Explained

      EPISODE 1 1:31 Free
    2. 60-Second PHPUnit Setup

      EPISODE 2 51 Free
    3. Prime Factors Kata

      EPISODE 3 14:55 Free
    4. Roman Numerals Kata

      EPISODE 4 16:47
    5. Bowling Game Kata

      EPISODE 5 23:40
    6. String Calculator Kata

      EPISODE 6 25:03
    7. Tennis Match Kata

      EPISODE 7 36:50
    8. FizzBuzz Kata

      EPISODE 8 8:35
    9. The Gilded Rose Kata

      EPISODE 9 27:57
Back to Series Button