Juan

30%
Flag icon
This is called the SPECIAL CASE PATTERN [Fowler]. You create a class or configure an object so that it handles a special case for you. When you do, the client code doesn’t have to deal with exceptional behavior. That behavior is encapsulated in the special case object.
Clean Code: A Handbook of Agile Software Craftsmanship (Robert C. Martin Series)
Rate this book
Clear rating
Open Preview