is subclassing Project OK?

Ned Konz ned at bike-nomad.com
Wed Aug 7 14:35:03 UTC 2002


On Wednesday 07 August 2002 03:02 am, Torge Husfeldt wrote:
> Don't you think it would be a Good Idea (tm) to replace quite a few
> calls to #isKindOf: <Class> by is<Class>? 

Yes. I've already been bitten by this a few times trying to add new 
classes that work equivalently to existing ones but don't inherit 
from them.

> Some time ago i wrote a
> snippet that did exactly this and posted it to the list (It works
> with the #autoDeclineClassMembership preference that dates from the
> same time, but you could make it work with explicit
> "is<Class>      ^false" methods in Object too)

I missed that. Do you have a pointer to an archive of the message?

-- 
Ned Konz
http://bike-nomad.com
GPG key ID: BEEA7EFE




More information about the Squeak-dev mailing list