Protocols

stéphane ducasse ducasse at iam.unibe.ch
Sun Aug 1 20:53:30 UTC 2004


Hi


On 1 août 04, at 11:15, Marcin Tustin wrote:

>     I've seen the term "protocol" bandied about in documentation,
> and I understand it to refer to the entire set of methods exported
> by a class. Is there a corresponding language-feature that
> aggregates sets of methods (or just their interfaces) such that
> they can be added to a class, like a mixin

Not in the current Smalltalk implementation but you may be interested 
by Traits.
http://www.aim.unibe.ch/~scg/Research/Traits.html

Traits are working for 3.7.

Stef
>




More information about the Squeak-dev mailing list