What is the difference between a mixin and the decorator pattern?

Posted by leeand00 on Stack Overflow See other posts from Stack Overflow or by leeand00
Published on 2010-04-06T02:16:02Z Indexed on 2010/04/06 2:23 UTC
Read the original article Hit count: 269

The Decorator Pattern is dynamic extension-at-runtime of classes. It dynamically forms a is-a relationship.

I started to wonder if I was over-complicating my API by using the Decorator Pattern after I got this answer about the difference between a mixin and an abstract class.

© Stack Overflow or respective owner

Related posts about decorator

Related posts about mixin