FW: [squeak-dev] Fixing support for selectors with underscores

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

FW: [squeak-dev] Fixing support for selectors with underscores

Edgar De Cleene
Aca salio de nuevo el tema de los underscores.
Estaría bueno seguirlo y vos Diogenes mandar tu código si es que con ese
código se obtiene el mismo comportamiento qque para Pharo.

------ Forwarded Message
From: Levente Uzonyi <[hidden email]>
Reply-To: The general-purpose Squeak developers list
<[hidden email]>
Date: Mon, 2 May 2011 05:49:15 +0200 (CEST)
To: The general-purpose Squeak developers list
<[hidden email]>
Subject: [squeak-dev] Fixing support for selectors with underscores

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-t
oo-td1591416.html
[2] http://bugs.squeak.org/view.php?id=7547


------ End of Forwarded Message