OOP & Design Patterns - Decorator Pattern - Wrapping Behaviour Without Subclassing
Consider two approaches to extending behavior: (1) Brute Force subclassing for every feature combination, and (2) Decorator Pattern using composition. When is the Decorator Pattern approach better than brute force subclassing?
