Tag Archives: decorator

(JavaScript) JavaScript Basic Decorator Pattern

In this section we’re going to explore the decorator – a structural design pattern that promotes code reuse and is a flexible alternative to subclassing. This pattern is also useful for modifying existing systems where you may wish to add additional features to objects without the need to change the underlying code that uses them. [...]

Posted in JavaScript | Also tagged , , , , , | Leave a comment