Let’s Develop


Next requirement is to check for exceptional cases an throw. I use JUnits ExpectedException Rule to test exceptions and their message. I use more Java8 Streams features to check for the exceptional cases and to build the exception message. As always, I clean up after myself. ► All Kata Episodes: […]

String Calculator Kata 03 – Testing Exceptions (JUnit) & Streams ...






Prime Factors is a simple, yet interesting kata about implementing prime-factor computation. The kata was developed by Uncle Bob, together with his son. I perform it here in Vanilla Java. ► All Kata Episodes: http://goo.gl/uTSO9B ► Let’s Develop! http://letsdeveloper.com ► Don’t Miss an Episode: http://goo.gl/whzDi1 ► Kata: http://butunclebob.com/ArticleS.UncleBob.ThePrimeFactorsKata ► The […]

Code Kata – Prime Factors





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