[squeak-dev] Selectors with underscores
Torsten Bergmann
astares at gmx.de
Thu Mar 11 15:28:45 UTC 2010
>That fundamentally changes the readability of Squeak code and makes all
That is not an argument, one can currently write a method:
xxxßsoOOollx0001128üäe8
^'Unreadble'
and thats not readable either.
>future code written that way incompatible with other Smalltalks.
Depends on how you see it. VisualWorks and Smalltalk/MT allow
underscores in selectors as well. Havent tested VAST, Dolphin, GNU, ...
If we dont support it in Squeak we can not load code from
Smalltalks who support it.
What about the following:
We can make it a preference (as it is the case with underscore assignment) and set it to false by default.
So by default the image is clean and people who need it (Glorp for
instance) dont have to patch the image/class Scanner ...
>or maintain your own fork of Squeak
Believe me - there are already enough forks ;)
More opinions please!
Thx
T.
--
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01
More information about the Squeak-dev
mailing list
|