TDD LCD Kata - Part 3

Let's get to digit 6! This is just following the pattern we've followed established in the first 5 digits. Despite my habit of going top-down to modify the tests before I rename; I life the bottom up approach. When I get to the top, I know I can rename it.…

TDD LCD Kata - Part 2

Live coding, hehe... pre-recorded. Gotta keep the code resharper green! Hell yeah! At the start here I decide to do all the digits first before moving onto multiple digits. Was it a good idea? I don't know - it was an idea! That's all you need. I get to share…

TDD LCD KATA - Part 1

An LCD Kata from Cyber-dojo.org. I went into this with no plan of attack. I have some ideas, but nothing planned or expected! How will I solve the Kata?! Oh... right... who cares! Watch me code!…

Book Review - A Philosophy of Software Design

This is a book I highly recommend. It's slightly below Beyond Legacy Code. It's added a lot of words for concepts I've been using without good descriptors. The biggest of these is "cognitive load". I'm sure it's a well known concept; this book was the first place I…

Live Coding - TDD FizzBuzz Part 5

The final episode of FizzBuzz TDD'd! Before we dive in; we do a refactor to improve the clarity of the intent of our tests. It's a pretty quick jump into following the practice of triangulation as we did for the first three requirements. Continue to predict why the test fails!…

Live Coding - TDD FizzBuzz Part 4

First two requirements complete. Time to start the 3rd! Write tests, not just to drive the code; but for safety in the future! Don't modify existing behavior when making a test pass. I really like the Elvis Operator "I know what the test is giving us, and I know…

Live Coding - TDD FizzBuzz Part 3

MORE TDD FIZZBUZZ!!! Let's start the SECOND requirement... We may be going slightly slower than I've seen FizzBuzz done... Maybe... I can't think of any additional tests that will fail for the first requirement, since we have a general solution - We can move onto the next requirement. A nice…