Make Money with TDD - 00

Welcome to ... whatever the fuck this'll turn into. Preamble (post writing) This turned into ... a lot. Both in the content for this series of doing MONEY! What I found while working through this is that I had a lot of tangents about a lot of things. One of the big…

TDD Like You Mean It - 13

Not Done Yet! Jim Speaker [https://www.linkedin.com/in/jimspeaker/], someone who strongly applies most, if not all, of the practices I advocate, posted a version of FizzBuzz [https://www.linkedin.com/feed/update/urn:li:activity:6870728317012717568/] that demonstrates a lot of these practices. I liked most of…

Refactor to MicroObjects - 03

More Action It's time to get some more Rule Actions in place. Let's give ourselves a reminder of what our code looks like public Answer Transform(int source) { TurnCount turnCount = new IntTurnCount(source); IRule multipleOfThreeAndFiveRule = new MultipleOfThreeAndFiveRule(); if (multipleOfThreeAndFiveRule.Matches(turnCount)) return new FizzBuzzAnswer(); IRule multipleOfFiveRule = new MultipleOfFiveRule(); if (multipleOfFiveRule.…

Collections are Primitives

Once again, Twitter is the driver for a new blog post! Note: This is just a brain dump. No IDE opened, no re-read. Idea, typing, your eyes suffering. How do you do Collections in MicroObjects? I'm not sure how much I've covered it elsewhere; but no posts are popping up.…

Refactor to MicroObjects - 02

What's an input? Last time we transformed our returned values into Answers and used instances of those to be returned. The other primitive we can see is the type of source and quite a few hard coded values. Let's take a gander at the code again public Answer Transform(int…

Refactor to MicroObjects - 01

We TDD'd; Now we Transform TDD is great. I love it. It doesn't get the code into the state we want it. it provides a safety net that ensures that everything we've implemented continues to function. We can still refactor the code. These are refactoring practices that don't always fit…

Mobbing without Code

> Quality Note: This is a late night hackfest to get an idea out for a colleague. (AKA - I rolled my face around on keyboard, and it'll show) > Also, sorry this is bumping my TDD LIKE YOU MEAN IT series. It'll resume next week. > > Note: I know we're going to…

TDD LIKE YOU MEAN IT - 09

End in sight As a refresher, let's remind ourselves of the requirements of FizzBuzz Write a method that takes a whole number and returns a text representation and has the following behavior for whole numbers above 0 (does not include 0). We don't have to add any bounds checking in…