Deprecating the Decorator pattern

Posted on
Design Patterns Book

This post explains how modern languages make most usages of the decorator design pattern obsolete. For those of you, who do not know the decorator pattern, a quick recap is given, before I explain why it’s not really a good idea if your language supports multiple inheritance properly. Finally, we will look at those few […]