[squeak-dev] Re: isKindOf: in Morphic code...
David T. Lewis
lewis at mail.msen.com
Tue Jul 5 19:43:28 UTC 2016
On Tue, Jul 05, 2016 at 11:21:23AM -0700, Eliot Miranda wrote:
> isKindOf: is simply lazy. It's easy to implement the isFoo pattern, and it
> can be commented properly (for example, the comment can specify exactly
> which selectors the truth of the message implies). isKindOf: is quick and
> dirty, but potentially ambiguous. Precisely what API are we expecting the
> receiver to exhibit? Ugh.
I have no particular opinions on any of this, but I do want to mention that
Cuis has adopted an #is: Foo pattern, and if anyone is interested in making
changes in this area I would recommend taking a close look at Juan's work in
More information about the Squeak-dev