[squeak-dev] Re: isKindOf: in Morphic code...
karlramberg at gmail.com
Tue Jul 5 13:17:24 UTC 2016
A lot of the isKindOf: sends is used to find specific submorphs.
| s |
s := ''.
self allMorphsDo: [:m | (m isKindOf: StringMorph) ifTrue: [s := m
One could give names to the submorphs as they are initialized, all morphs
Would that be a solution ?
On Tue, Jul 5, 2016 at 1:52 PM, Stéphane Rollandin <lecteur at zogotounga.net>
> Calling this phenomenon a "bug" does not feel right. It feels like a blame
>> on some particular developers. I don't think it is.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Squeak-dev