Wednesday, April 11, 2012

Completing the Potter Kata

Today, I have completed my first attempt at the Potter Kata. Please see a previous post for more details. Below are my notes:

  • It was nice to not have to concentrate on TDD. I was able to focus on keeping my code DRY.
  • I have found the com.google.common.collect.Lists package, which has several useful list operations.
  • I was not able to check whether the last test case passes, because my algorithm is very brute force. It would need to generate 23! permutations of the book list for the last test case, which would take a very long time.

P.S. I would have to say that my level of self-awareness of copying code is III. Please see what the levels mean in my learning plan.

No comments:

Post a Comment