[squeak-dev] Re: Unload Traits script (response to edgar)

Trygve Reenskaug trygver at ifi.uio.no
Wed May 14 17:37:36 UTC 2008



On 14.05.2008 13:01, Andreas Raab wrote:
> Trygve Reenskaug wrote:
>> A role is played by an object at run time. This object can be an 
>> instance of any class that implements its trait. So the trait is tied 
>> to a fundamental abstraction that is on the same level as the class.
>
> Interesting. But aren't you describing interfaces? I agree that 
> interfaces which describe the protocol required by a role can be a 
> useful; I am not convinced that traits (which are effectively used as 
> the implementation itself) are nearly as helpful in this context.
>
No, I am describing the methods that drive the object interaction.
--Trygve

-- 

Trygve Reenskaug       mailto: trygver at ifi.uio.no

Morgedalsvn. 5A         http://heim.ifi.uio.no/~trygver

N-0378 Oslo               Tel: (+47) 22 49 57 27

Norway

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20080514/9b95d259/attachment.htm


More information about the Squeak-dev mailing list