News Ticker

Decorator Pattern

Decorator Pattern

March 12, 2016 // 0 Comments

The decorator pattern is one of the GoF Structural Pattern and dynamically adds logic to an object. Instead of inheritance, the decorator adds functionality at run time. [...]