[squeak-dev] WorldMorph subclass: PasteUpMorph?

K K Subbu kksubbu.ml at gmail.com
Wed May 10 14:26:25 UTC 2017


Hi,

Is there any specific reason why WorldMorph is not a subclass of 
PasteUpMorph? The latter uses a variable to hold significant world state 
and rest of Morphic use isWorldMorph to check the type before calling 
methods.

I would have expected subclassing and double-dispatch to yield smaller 
and cleaner code.

Regards .. Subbu


More information about the Squeak-dev mailing list