Mixins (was Re: [MCZ] and adding related files)
Avi Bryant
avi at beta4.com
Sun Nov 9 00:01:40 UTC 2003
On Nov 8, 2003, at 3:30 PM, Colin Putney wrote:
> Right now, Monticello can only work with ANSI Smalltalk (more or less)
> programs, but there's no reason we couldn't adapt it for Traits,
> Aspects, Mixins, Prototypes or whatever else people find interesting.
Which reminds me - I did a really simple Mixin implementation a bit ago
that I don't think I ever mentioned on the list. If anyone wants to
play with it, it's at http://beta4.com/mc/mixins/Mixins-ab.8.mcz .
Might be useful as a straw-man counterpoint to Traits ;).
IIRC it has some SUnit tests that illustrate the usage. Note the use
of "self super foo" instead of "super foo" in mixin methods.
Avi
More information about the Squeak-dev
mailing list
|