[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Proposal: allow @, $, !, and ? in Lua identifiers
- From: Coroutines <coroutines@...>
- Date: Fri, 25 Apr 2014 05:54:14 -0700
On Fri, Apr 25, 2014 at 5:36 AM, Tony Papadimitriou <tonyp@acm.org> wrote:
> 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 != ?
How is <> used in Pascal?
Also, I would like to see ~= changed to !=. I'm sure it will look
confusing in 5.3 to have both ~ and ~= when Lua doesn't have compound
assignment operators.
> 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).
I'd be in favor of not allowing it at the beginning of an identifier, yes :>
- 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):