0
kicks
Learning the Decorator Pattern
Taking at how we can use the Decorator Pattern in our application. The decorator pattern is a structural pattern which allows you to attach new or additional actions to an object dynamically. Using the decorator pattern provides a very clean and flexible alternative to subclassing (via inheritance) your object and thus creating an unwanted inheritance tree