[Q] perform:orSendTo:
germanmorales at delta-sys.com
germanmorales at delta-sys.com
Wed Jun 26 09:20:53 UTC 2002
>The thing that is missing from the comment is not an
>accurate description of what the method *does* but
>of what the method is *for* and when you might
>want to override it.
Yes, that was what puzzled me.
And the fact that Object choose the otherObject
as the target without saying why.
>Given its use, an implementation using
>#respondsTo: is arguably not well written.
>Just because a class happens to have inherited
>a unary selector doesn't _always_ mean that it
>intends to have it called as a menu operation.
That's a good point.
I definitely think a better comment would help
people that sees this method for the first time.
Thanks for you answer, and to Bob also.
German
More information about the Squeak-dev
mailing list
|