[squeak-dev] Towards a more consistent and sensible implementation of #isAbstract

Marcel Taeumel marcel.taeumel at hpi.de
Thu Dec 7 08:30:20 UTC 2017


Hi, there.

What are your thoughts on how to implement "MyClass class >> #isAbstract"? I think that one should always use #== and compare it to an actual class object like this:

MyClass class >> #isAbstract
   ^ self == MyClass

At the time of writing, we have various attempts in your image. You can browse them easily:


Best,
Marcel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20171207/fc394e7d/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 43349 bytes
Desc: not available
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20171207/fc394e7d/attachment-0001.png>


More information about the Squeak-dev mailing list