« Return to Thread: Real (trivial) mixins

Re: Real (trivial) mixins

by Jeremy Tregunna-2 :: Rate this Message:

Reply to Author | View in Thread


On 15-Apr-09, at 1:29 PM, spir wrote:

> 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?

Consider you're modeling a new drug, and some element changes in it.  
Would you not want that change to reflect against all instances  
thereof in your model?

Regards,

Jeremy Tregunna
jeremy.tregunna@...



 « Return to Thread: Real (trivial) mixins