lua-users home
lua-l archive

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

> > Actually, the re-use of the square brackets is my biggest objection to
> > a quaternany operator.
> >
> > One of the best things about Lua is that it doesn't re-use symbols
> > much.  Every other lanugage I'm aware of (except the Lisp family) does
> > this, and I believe it makes learning those languages more difficult.
> >
> [...]
> Well, although is not the same thing, Lua already uses '[' to strings
> '[[' and comments '--[['. So the Square Bracket already is a versatile
> symbol that could be used to express another idea.

I think he means "symbol = token", not "symbol = character".

-- Roberto