Growing Object-Oriented Software, Guided by Tests
by Steve Freeman and Nat Pryce
I did not realize how much I still have to learn about writing good
object-oriented (OO) code, and about hewing to a tight test driven development
(TDD) methodology, before I read Growing Object-Oriented Software, Guided By
Tests. My education in OO and unit testing has been largely theoretical, with
no time spent directly learning from experienced OO programmers; my best mentor
was a COBOL coder. Books like Design Patterns: Elements of Reusable
Object-Oriented Software (“Gang of Four”), Patterns of Enterprise Application
Architecture, Applying UML and Patterns: An Introduction to Object-Oriented
Analysis and Design and Iterative Development, Xunit Test Patterns:
Refactoring Test Code, and others are wonderful but have few detailed
real-world business-case examples.