[squeak-dev] Re: Selectors with underscores

Stéphane Rollandin lecteur at zogotounga.net
Fri Mar 12 19:01:41 UTC 2010


> IMHO, both := and _ are wrong choices. To be consistent with selector
> conventions, it should have been =: ( for assign:). But I guess it is too late
> now.

ah, but _ is not a selector

now if a newly created identifier symbol was automatically bound to a 
specific instance of ProtoObject, instead of nil which is the sole 
instance of UndefinedObject, then =: could be implemented in ProtoObject 
as syntactic sugar for becomeForward:

or am I wrong here ?

Stef





More information about the Squeak-dev mailing list