The Decorator Pattern in Java and Javascript
The Decorator Pattern is a highly used Object Oriented structural design pattern, that gives the ability to attach additional responsibilities to an object dynamically, without sub-classing. When this pattern is used correctly, it can be extremely powerful due to the flexibility it offers. So… Grab yourself a cup of coffee, or better yet… Some of […]