Software Architecture · Design Patterns
What is Decorator pattern in Design Patterns?
Decorator adds behavior around an existing abstraction without modifying the wrapped implementation. In practice, the value of this concept comes from understanding where it belongs in the architecture, what problem it solves, and what constraints or tradeoffs it introduces.