Method Category Pane?

JOEL SHELLMAN joelhelenshellman at comcast.net
Tue May 27 03:48:44 UTC 2003


> > If I create a driveable protocol on Car and then
> > use it on Bicycle, are those the same protocols, or are they
> > different? ie.
> > given the FAQ entry about finding all classes with a certain 
protocol:
> >
> > http://minnow.cc.gatech.edu/squeak/48
>
> A protocol is just a set of message that an object can understand. So
> if you
> define the same message = method-***name*** then your objects
> (instances of those class)
> will be able to receive the same message.
>
> For example we can open a window or open a file, the operations are
> different but they have the same name.
> This is what is named ad-hoc polymorphism because there is not too 
much
> in common.
>
> Now if you have a window and a colored window we can easily image that
> there are a lot in common.
> But the way have you got a look at the draft of the book for novices
> I'm finishing
> to write. http://scgwiki.iam.unibe.ch:8080/StephaneDucasseWiki
>
> Contact me if you want to get more recent versions ;)

Yes, I'd be interested. In fact, anyone writing such materials, I would 
be
willing to help out with reviewing them as an experienced developer new 
to
Smalltalk.

Thanks,

-joel shellman




More information about the Squeak-dev mailing list