Monthly Archives: February 2015




Using Google’s Guava I can considerably simplify my implementation. I trust Google developers. Those guys generally know their handiwork. After this refactoring, I’m finally content with my implementation. ► All Potter Kata Episodes: http://goo.gl/m9E4vF ► Let’s Develop! http://letsdeveloper.com ► Don’t Miss an Episode: http://goo.gl/whzDi1 ► CodingDojo: http://codingdojo.org/cgi-bin/index.pl?KataPotter ► The Code: […]

Code Kata – Potter #7 – Introducing Google’s Guava





Now that the preparations are done, we can apply the 2-book-discount rule to every pair of books in our order. This finally makes our test go green! ► All Potter Kata Episodes: http://goo.gl/m9E4vF ► Let’s Develop! http://letsdeveloper.com ► Don’t Miss an Episode: http://goo.gl/whzDi1 ► CodingDojo: http://codingdojo.org/cgi-bin/index.pl?KataPotter ► The Code: https://github.com/letsdeveloper/Lets-Develop-Code-Kata […]

Code Kata – Potter #4 – Discount on all Pairs





In this second episode, I introduce the concept of discount intro my implementation. Though a simple step, I put some thought into clean infrastructure and take the time to refactor my initial solution. ► See Introduction: http://youtu.be/3rgo0-hfDgk ► All Potter Kata Episodes: http://goo.gl/m9E4vF ► Let’s Develop! http://letsdeveloper.com ► Don’t Miss […]

Code Kata – Potter #2 – Introducing Discount