[Squeak-fr] Ruby et les Traits.

stephane ducasse stephane.ducasse at free.fr
Tue Oct 23 11:22:23 UTC 2007


> Traits, on the other hand works by adding the methods directly into  
> the class's method dictionary. It can't rely on inheritance to  
> resolve conflicts, so it provides ways of explicitly resolving  
> conflicts, as Ramon explained.

The way conflicts are resolved in not an accident in traits but a  
decision to give to the composer the control.
This is why we did not wanted linearisation as an implicit way to  
solve conflicts (I programmed with mixin in CLOS during my PhD
and there it was also linearisation based).

Stef



More information about the Squeak-dev mailing list