[squeak-dev] 4.5 -- how should we proceed then?
Chris Muller
asqueaker at gmail.com
Tue Dec 24 00:01:00 UTC 2013
> The other point being whether to invoke new or basicNew is more germane, but
> not invoking new is a way to tell my instances are not created like that.
It's a way to tell your instances not to initialize _default values_, if any.
If a var is added and you add an initialize method, oops. You better
change your constructor too, ha ha...
> We
> could push it further and redefine new ^self error as you suggested, but
> it's quite heavy...
Default values.
More information about the Squeak-dev
mailing list
|