[squeak-dev] Fixing support for selectors with underscores

Levente Uzonyi leves at elte.hu
Mon May 2 03:49:15 UTC 2011


Hi,

since Squeak 4.1 it's possible [1] to use underscores in class, method and 
variable names. System wide support for them is still incomplete though. 
There are two reasons for this:
- our developement process doesn't need this feature
- noone wanted to fix it

The per-class scoping causes so much trouble, that I'd like to remove it 
completely, leaving only global preferences. Why?
- It doesn't work for
   - class names,
   - class variable names,
   - class side methods.
- It doesn't work with code loading tools (e.g. Monticello), because 
there's no guarantee, that #allowUnderscoreSelectors will be loaded before 
the methods using underscores that way.
- It doesn't work for tools viewing external code.

Any objections?


Cheers,
Levente

[1] http://forum.world.st/Selectors-with-underscores-Have-your-cake-and-eat-it-too-td1591416.html
[2] http://bugs.squeak.org/view.php?id=7547



More information about the Squeak-dev mailing list