Decorator Design Pattern

Decorator Design Pattern

Channel:
Subscribers:
24,900
Published on ● Video Link: https://www.youtube.com/watch?v=mIJDfeMTXGE



Duration: 4:01
2,141 views
41


Decorator Design Pattern Article : https://medium.com/@sean_bradley/decorator-design-pattern-f652070be7dd

Design Patterns In Python Book : https://www.amazon.com/dp/B08XLJ8Z2J

The decorator pattern is a structural pattern, that allows you to attach additional responsibilities to an object at run time.

The decorator pattern is used in both the Object Oriented and Functional paradigms.

The decorator pattern is different than the Python language feature of Python Decorators in it's syntax, but the application of it is the same, in the way that it is essentially a wrapper.

The Decorator pattern adds extensibility, without modifying the original function.

#python
#pythonDesignPatterns







Tags:
python
design patterns
decorator design pattern
B08XLJ8Z2J