3.9 Traits behavior code

Adrian Lienhard adi at netstyle.ch
Fri Oct 20 07:54:39 UTC 2006

no, its the identical method shared between those classes and traits.  
It is defined only _once_ in TCompilingBehavior.

If you use OmniBrowser which comes with the 3.9 image you can  
distinguish between methods implemented locally and those obtained  
from traits (latter are printed italic).


On Oct 20, 2006, at 01:03 , tim Rowledge wrote:

> It looks a bit odd - given the aim of traits, insofar as I  
> understand them - to have for example 4 identical methods  
> #compile:classified:notifying:trailer: ifFail: in classes Behavior,  
> TCompilingBehavior, TPureBehavior and TraitBehavior.
> Are they all really needed or are they perhaps left overs needing  
> cleaning up?
> tim
> --
> tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
> Performance is easier to add than clarity.

More information about the Squeak-dev mailing list