23 Kiffs.

Decorator design pattern simplified

Decorator design pattern simplified
Vishal Vishal 22 February, 2018
Introduction The easiest way to extend some feature of a Class is to use inheritance. But with inheritance, it became very difficult to change the code or even some time extend the functionalities. One better solution to overcome some of the deficiencies of inheritance is to use decorator design pattern.  This article explains what decorator design pattern is and explain its implementation. The user will learn about the decorator pattern, some of its advantages and how it is implemented in some framewor...
Read on www.codeproject.com
Flag |
Category: Dev & Design
Tags: Dev, codeproject