[squeak-dev] Re: Object>>#is:? (was: Re: PackageDependencyTest)
Das.Linux at gmx.de
Fri Mar 5 16:17:39 UTC 2010
Am 2010-03-05 um 17:09 schrieb keith:
> The metaphor comes from "asking for" an interface. i.e. checking the presence of an interface that might be there, that is tagged by virtue of its implementation of an identifying boolean selector.
ok, i got that.
> If you can check that you have the interface you need to do something, why would you care what an object "is".
because its my normal "real world" beahviour.
Tobias isWise => false
Sky isBlue => True
I dont want to ask whether I may ask if something is.
It's an unnecessary indirection from my logical point of view.
More information about the Squeak-dev