{"id":612,"date":"2014-01-09T13:42:48","date_gmt":"2014-01-09T13:42:48","guid":{"rendered":"https:\/\/agilestaffordshire.org\/?p=612"},"modified":"2014-01-23T18:14:53","modified_gmt":"2014-01-23T18:14:53","slug":"january-2014-kata-with-constraints","status":"publish","type":"post","link":"https:\/\/agilestaffordshire.org\/agile\/january-2014-kata-with-constraints\/","title":{"rendered":"January 2014 – Kata with Constraints"},"content":{"rendered":"
\"Calculator<\/a>

Calculator Kata<\/p><\/div>\n

Date:\u00a0Thursday 23rd\u00a0January 2014<\/strong>
\nTime:\u00a07:00pm<\/strong>
\nVenue:\u00a0
Staffordshire University – Stafford Campus<\/a>\u00a0(Octagon building, K102)<\/strong><\/p>\n

With the new year now behind us, to kick start 2014 Agile Staffordshire will be going back to basics with a twist. A key technique in agile development is Test Driven Development (TDD), a difficult skill to master yet often practiced through simple Kata exercises. For the uninitiated, Katas are a reference to martial arts where students repeatably\u00a0practice a set of moves in order to better learn and understand. Programming Katas are similar short 10-30 minute challenges where the goal is the same but each attempt can lead you to experience a different journey.<\/p>\n

This month we will be pairing together to do the String Calculator by Roy Osherove<\/a>\u00a0but with a constraint of your choosing. Kata rules are below, as are a selection of constraints but feel free to choose your own. There is no set language, but you will need one with a testing framework for TDD.<\/p>\n

String Calculator<\/h2>\n

The following is a TDD Kata- an exercise in coding, refactoring and test-first, that you should apply daily for at least 15 minutes (I do 30).<\/p>\n

Before you start:<\/h2>\n