TDD by Beck – Chapter 11 code on Git

The code for Chapter 11 (“The root of all Evil”) of TDD by Beck is now available on GitHub.

The commit notes on Git are as follows:


The intent is to remove the Dollar/Franc duplication.
Removed Dollar - and checked for references to Franc.
There were some - though the tests were sufficiently covered elsewhere that it was not worth keeping the testDifferentClassEquality.
At the same time the "testFrancMultiplication" - can be removed - though I would advocate keeping it, personally.

Beck says that no system confidence is lost if you remove it - and as the system is relatively well understood, that is okay, in more complex cases, this may not always be the case.
 Redundant code is important to remove at the same time - keeps things clean and limited to what you need, and what you want to spend time reviewing.
This entry was posted in TDD, Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s