Decorator Design Pattern

Channel:
Subscribers:
1,330,000
Published on ● Video Link: https://www.youtube.com/watch?v=j40kRwSm4VE



Duration: 12:57
408,038 views
5,015


Get the Cheat Sheet: http://goo.gl/MzW0g

Best Design Patterns Book : http://goo.gl/W0wyie

Welcome to my Decorator Design Pattern Tutorial. The Decorator allows you to modify an object dynamically. You would use it when you want the capabilities of inheritance with subclasses, but you need to add functionality at run time.

It is more flexible than inheritance. The Decorator Design Pattern simplifies code because you add functionality using many simple classes. Also, rather than rewrite old code you can extend it with new code and that is always good.







Tags:
Decorator Design Pattern
Decorator Pattern
Design Patterns
Design Pattern
Design Pattern Tutorial
Design Pattern Video Tutorial