Also known as
- Smart Proxy
- Wrapper
Intent
The Decorator pattern allows for the dynamic addition of responsibilities to objects without modifying their existing code. It achieves this by providing a way to "wrap" objects within objects of similar interface.
About 3 min