« Return to Thread: Real (trivial) mixins

Re: Real (trivial) mixins

by spir :: Rate this Message:

Reply to Author | View in Thread

Le Wed, 15 Apr 2009 10:04:38 -0700,
"Samuel A. Falvo II" <sam.falvo@...> s'exprima ainsi:

> > Hmm.. can you explain a bit more -- *why* you would want to do this.  
>
> Isolation.  Use this method when/if you anticipate your parent(s)
> might change in the future, but you want to preserve their current
> behavior as a snapshot now.

I would rather ask the opposite question: in which (real world and/or theoretical) case can one expect the parent methods to change *and* wish this change to propagate to clones?

Denis
------
la vita e estrany

 « Return to Thread: Real (trivial) mixins