Proposal3: Make $_ a valid identifier character

Karl Ramberg karl.ramberg at chello.se
Tue May 30 11:48:25 UTC 2000



Stefan Matthias Aust wrote:

> Henrik Gedenryd wrote:
> >
> > Stefan Matthias Aust wrote:
> >
> > > PROPOSAL
> > >
> > > For better ANSI compatibility, I propose to allow _ (actually it's printed
> > > as <- with the default font in Squeak) in identifiers.
> >
> > May a curse be placed on you for reopening that syntax thread.
>
> And may you all carefully read the proposal before staring flaming.
> It's not
> a matter of whether to use  _ or := but just the extension of the system
> to
> allow _ as valid character for literals as required by ANSI Smalltalk.
>
> And you don't even have to use this feature (as some other people tend
> to
> think here on this list just because it's possible.  You always have to
> freedom of choice.  However, get achieve this freedom, you need this
> alternative first)  The main reason, as already said, is compatibility
> which is IMHO a good thing.
>
> bye
> --
> Stefan Matthias Aust             Projektleiter/Softwareentwicklung
> Baltic Online Computer GmbH,    Alter Markt 1-2,        24103 Kiel
> Fon: +49 (0) 431-54003-0 Fax: -99      http://www.baltic-online.de

That's true, but if we now want to keep the old style, can't the filein convert
underscores to uppercase or something ? Same with fileout, convert to ansi ?
Isn't this what computers are good at in the first place ? ;-)

Karl

Karl






More information about the Squeak-dev mailing list