<<< Decorator Sample, cont. | Index | Facade >>> |
Decorator changes class responsibilities, not the interface.
Unfortunately, Decorator design introduces many small look-alike objects, which differ only in the way they are interconnected...
...The application quickly becomes difficult to understand and debug!
However, decorators are very useful as wrappers around application calls, providing reliable way of generating debugging information from software components.
<<< Decorator Sample, cont. | Index | Facade >>> |