(no subject)
Colin Putney
cputney at wiresong.ca
Sat Apr 8 17:04:38 UTC 2006
On Apr 7, 2006, at 4:03 PM, Andrew P. Black wrote:
> Or perhaps nil should respond to do: (and do nothing?)
>
Objective-C does something like this: any message sent to nil just
answers nil. Whether you prefer that over the Smalltalk strategy of
raising MNU for most messages seems to be a matter of taste.
Personally, I think either one is viable, but I don't think it would
be a good idea to do both. That is, if nil raises MNU, it should do
so for almost all messages.
Colin
More information about the Squeak-dev
mailing list
|