Tuesday, May 29, 2012

Mixins vs. OO

[M]ixins are a type of inheritance ... Inheritance is fundamentally at odds with encapsulation, the addition of capabilities to objects with a single line quickly muddle the responsibilities of classes, and mixins themselves aren’t even the best option for code reuse across classes.
 http://justinleitgeb.com/2012/05/moving-beyond-mixins/

No comments:

Post a Comment