[squeak-dev] Selectors with underscores
keith_hodges at yahoo.co.uk
Thu Mar 11 23:46:05 UTC 2010
> Until now we have:
> - Torsten
> - Edgar
> - Bert
> - Alexander
> - Matthew
> - Keith
> - Igor
> - Ian Trudel
> - Sam
> - Andreas (but vote PRO depend on backwards compatibility aspect)
> - Stéphane (votes for scoping)
> NOT CLEARLY STATED
> - Louis
> - Randal (vote seem to depend on Preference, which we now have)
> - Radoslav (but would rather ban underscore assignment, than
> underscores in method names)
> - Ralph Boland
> - Nicolas
>> There's a lot of code that uses at least x_ foo (i.e., no space
>> between >var name and underscore).
> With the Preference disabled you have Squeak as it was before and
> there should be no problem to load this code. At least if you dont
> have packages with "_" selectors. And if thats not enough a simple
> lint rule can check that _ selectors are not used in a base/core
As far as I can see the preference is redundant.
"If you don't want it don' t use it." - I think that covers the
situation as well as it can be covered.
What additional feature does having a preference give you? Apart form
an extra preference?
I agree that the compilerClass hook may be better than an extra
special method. However does the compilerClass hook apply to both
class side and instance side method compilations?
More information about the Squeak-dev