Showing posts with label Decorator Pattern. Show all posts
Showing posts with label Decorator Pattern. Show all posts

Wednesday, 26 August 2009


This blog entry is a response to an onerous blog entry which can be found here : andrewtroelsen.blogspot.com/decorator-pattern-extension-methods.html

The upshot is that the above blog entry wrongly states that you can implement the decorator pattern via .net extension methods, and further goes on to define an implementation which itself is not the decorator pattern.

Many people have commented on the original blog entry, however I don't think any of those comments goes far enough to properly explain why the original posting is wrong, or how it should actually be achieved.