ABSTRACT

This part of the book, The First Design Pattern, is a gentle introduction to design patterns. The path, however, is over how to handle variability in your production code when two different customers want nearly the same system but have minor divergences in requirements. I will also demonstrate how to introduce a design pattern by refactoring an existing design, which brings us around yet another area of testing.