lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


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 :>