The String Calculator Kata - Seventh Attempt

Date Published: October 19, 2020

The String Calculator Kata - Seventh Attempt

Today I undertook the String Calculator kata for the seventh time. I got through six (almost 7) 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 - you can only read the step you're on. You can view the instructions here.

This attempt, I got through 6 sections, which is better than my previous few results of 5 sections. I'm still trying to do this kata at least once per week. My current streak is 2. Hopefully sometime soon I'll get to a point where I can do all nine!

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!

If you'd like to view my first attempt at this kata, click here. You can also view my most recent attempt here.

Thanks for reading! I hope you find this and other articles here at ilyanaDev helpful! Be sure to follow me on Twitter @ilyanaDev.

ilyanaDev

Copyright © 2021