In a recent post I mentioned that I started learning F#. Over the past few weeks I’ve really started falling in love with the language. Coincidentally, my team has been incorporating more test-driven development (TDD) into our process and as part of that training Roy Osherov’s TDD Kata 1 was mentioned. I immediately thought “Hey! Let me try doing that in F# and see how it goes!” I’ve run through the kata more than a few times now and I’m ready to share my experience with the world.
Due to the nature of katas I thought I’d try something a bit different with this. Instead of posting all the code incrementally I thought it would be better to present this as a screencast and show the process of working through the kata and better illustrate how the code evolves.
Keep in mind that I’m still new to F# so as you’re watching the video if you see anything that I could/should do better please let me know in the comments.
Thanks and enjoy!