Submitted by Mi-K on Wednesday, April 11, 2018 - 9:06pm
The Decorator design pattern allows an object to be decorated in different ways not by inheriting from another class but by adding features directly to this object.
It's main interest is to avoid multiplication of classes that would be almost the same as the main one.