Mastering Design Patterns with Examples — Decorator Pattern
Extension at runtime, rather than at compile time
Published in
10 min readMar 30, 2023
Overview
Let’s review the four OO design principles in the introduction and observer pattern chapters as they are the building blocks to support our design patterns.
- Encapsulate what changes