Design Pattern : Decorator Pattern
Oct 30, 2023 · 3 min read · This is a structural pattern that attaches additional responsibilities to an object dynamically by placing them in wrappers that contain those behaviours. This provides an alternative to subclassing. In SOLID design principles: classes should be open...
Join discussion

