Decorator
Learn about a structural design pattern: the decorator pattern.
The decorator pattern is a structural design pattern. Don't confuse the decorator pattern with the concept of a Python decorator. There is some resemblance, but the idea of the design pattern is quite different.
Get hands-on with 1200+ tech skills courses.