[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Proposal: allow @, $, !, and ? in Lua identifiers
- From: "Tony Papadimitriou" <tonyp@...>
- Date: Fri, 25 Apr 2014 15:36:45 +0300
My comments:
I would like to (sometime) see the Pascal-like <> (and possibly even the
C-like !=) be used as synonyms for the less intuitive ~= So, how about
reserve ! for possible future addition of != ?
I agree for "?" as it allows making question like names like "Digit?"
instead of "IsItDigit"
The $ is OK for me, too (although seeing it in a form like $8000 is
confusing as it hexadecimal notation in some other languages -- unless it
cannot be placed as the first character of a name).
(For the @ I think it could be reserved for possible future expansion of the
language that may require special notation. Other than that, why not?)
-----Original Message-----
From: Coroutines
Sent: Friday, April 25, 2014 3:13 PM
To: Lua mailing list
Subject: Proposal: allow @, $, !, and ? in Lua identifiers
I'd like to discuss allowing @, $, !, and ? in identifier names. I
chose these explicitly because they can't be confused with an operator
at the end of an identifier.
- Prev by Date:
Re: Proposal: allow @, $, !, and ? in Lua identifiers
- Next by Date:
Re: Proposal: allow @, $, !, and ? in Lua identifiers
- Previous by thread:
Re: Proposal: allow @, $, !, and ? in Lua identifiers
- Next by thread:
Re: Proposal: allow @, $, !, and ? in Lua identifiers
- Index(es):