Proposal3: Make $_ a valid identifier character

Andrew P. Black black at cse.ogi.edu
Tue May 30 05:21:21 UTC 2000


At 0:00 -0500 2000.5.30, Eric Arseneau wrote:
>I recall that a friend of mine had created a language syntax without the use
>of BEGIN..END, [..], {..} or whatever form of bracketing is used in your
>favorite language.  Instead use the indentation of the code and let the
>compiler figure out the begin and end of a 'block' of code.

Haskell and Occam both do this.  Some people love it, some hate it. 
Sorta like '_' in identifiers ...

Just because we use '-' as an infix operator does not mean that it 
can't also be used in identifiers.  It just requires that spaces 
surround '-' when used as an infix operator, a convention that two 
days ago I would have said that no one would object to.  But that was 
before this thread took off!

	Andrew





More information about the Squeak-dev mailing list