[squeak-dev] Re: On traits composition

Andreas Raab andreas.raab at gmx.de
Tue Dec 8 20:27:41 UTC 2009


Colin Putney wrote:
> One of the defining features of Traits is that composition is 
> commutative. The order doesn't matter because the composition of any two 
> traits is an XOR operation on the methods that each Trait defines. Any 
> method that is defined in both the Traits does not show up in the 
> composition.

Wh...wh...wh..what? "any method that is defined in both traits does not 
show up in the composition"??? Can you provide any evidence for this? 
That is not my understanding of neither intention nor reality.

Cheers,
   - Andreas



More information about the Squeak-dev mailing list