Date Published: June 22, 2020
I recently completed the String Calculator kata for the first time. I got through three of nine sections in the 30 minutes provided.
The String Calculator Kata is a great kata for practicing test-driven development. In this kata, you spend 30 minutes trying to complete as many of the 9 sections as possible, but the idea is that you never read ahead - only read the step you're on. You can view the instructions here.
This attempt, I got through only 3 sections, though I did spend a lot of time googleing C# syntax, since I'm used to Java.
For a more in-depth description of how to get a kata started in C#, check out the start of my post on the FizzBuzz kata.
To view my code, click here.
I found this kata to be very helpful, and I will definitely try it again in the future to try to beat my performance from this attempt. Best of luck to you if you decide to try it!
Update: I've tried this kata again since this post. To view my most recent attempt, click here.
Thanks for reading! I hope you find this and other articles here at ilyanaDev helpful! Be sure to follow me on Twitter @ilyanaDev.