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

H. Hirzel hannes.hirzel at gmail.com
Fri Dec 8 06:15:12 UTC 2017

This looks like a useful cleanup

Many cases are like this

	^self = ArrayedCollection


	^self == ArrayedCollection

is a better solution


On 12/7/17, Marcel Taeumel <marcel.taeumel at hpi.de> wrote:
> 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

More information about the Squeak-dev mailing list