Getting double semi as sequencer harvested.
Andreas Raab
andreas.raab at gmx.de
Mon Sep 3 17:36:29 UTC 2007
Igor Stasenko wrote:
> In my asm-generator i found a good use of traits - like an extension
> mechanism which can be applied to any class to override some basic
> behavior. In my case, by adding a trait to some class, i'm overriding
> methods which used for compiling instance side methods, so i can
> replace and/or extent parser or compiler features only for particular
> class(es) without modifying parser/compiler globally.
> Also, i don't need to change inheritance chain in classes, where i
> adding traits.
Sounds interesting. Care to share it?
Cheers,
- Andreas
More information about the Squeak-dev
mailing list
|