Today I took on this kata during a code dojo at work :
http://codekata.com/kata/kata19-word-chains/
We used a TDD approach, allowing us to come up with the key guard clauses.
A sticking point was when we moved from two words in the word chain to three. Here we ran out of time.
If I was to do it again I would start implementing the dictionary from the beginning and thinking about the letter changing algorithm earlier. ( I probably will give it another go!)
Top comments (0)