Looking for nano-Self

Stephane Ducasse squeak-dev at lists.squeakfoundation.org
Sun Oct 6 21:05:10 UTC 2002


Hi Daniel

We know that this is good ;))))
Nathanael should release a version soon.

Stef


On dimanche, octobre 6, 2002, at 08:08  pm, Daniel Joyce wrote:

> On Sunday 06 October 2002 04:20 am, Stephane Ducasse wrote:
>> Hi Brian
>>
>> If you want to see what we are doing with Squeak and Traits look a=
t
>> the first (not that good paper)
>> we are writing a good one.
>> http://www.iam.unibe.ch/~schaerli/research/index.htm
>>
>> Thanks for the advice
>> Stef
>
> Cool, I like this ALOT. Is there a chance we will see this in Squea=
k?
>
> It jives with my observation that Squeak is a protocol-typed langua=
ged
> rather than a typed-language. There is probably a OOP term for what=
 I
> am saying, but I don't know it...
>
> As long as an object understands a method, it works ( well, as long=
 as
> the message does what you want ).
>
> I should qualify this more and say, that what matters more often in=
 ST
> is NOT that a object understands a method, but that it understands =
a
> PROTOCOL, a group of messages that get things done. So thinking it
> understands the complete protocol can bite one on the rear. The
> Collection classes are a perfect example of this. The all support
> different junks of what is currently thought of as one protocol.
>
> With traits, we could divide these out these out into seperate trai=
ts,
> and retain the collection heirarchy to preserve reuse of state and =
glue
> code. Then plug in the traits. Once done, a browser could show that
> "This class supports the sorted trait, this one doesn't, etc etc".
>
> Something like traits makes this very possible. A trait browser wou=
ld
> let us see what objects easily understand a given set of protocols.
>
> Also, it's a WAAAY better idea than JAVA's empty interface classes.
> These guys can actually have some meat on them.
>
> Is there a chance we'll see Traits in Squeak?  <:)
>
> This is a really really really cool idea...
>
> -Daniel
>
>
Dr. St=E9phane DUCASSE (ducasse at iam.unibe.ch)=20
http://www.iam.unibe.ch/~ducasse/
  "if you knew today was your last day on earth, what would you do
  different? ... especially if, by doing something different, today
  might not be your last day on earth" Calvin&Hobbes





More information about the Squeak-dev mailing list