I think any of these composition / sharing systems need to rely on documentation so that it's clear what the feature does and how to use it. This seems to blunt some of the criticism, at least to some extent, and the question then becomes: is the technique hard to document and understand?
Given this, it would be helpful to address these points:
I think any of these composition / sharing systems need to rely on documentation so that it's clear what the feature does and how to use it. This seems to blunt some of the criticism, at least to some extent, and the question then becomes: is the technique hard to document and understand?
Given this, it would be helpful to address these points:
Subclass factories (mixins)
Delegation Pattern