What you're doing -- changing inheritance at runtime -- seems different to me. Still scary, but not as scary as mxins. One other approach would be to use something like a "strategy pattern." If that seems too heavy, it could be made more lightweight by using sub references in place of actual objects to implement the hooks.
In reply to Re: very simple per-object mixins
by perrin
in thread very simple per-object mixins
by khkramer
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |