lua-users home
lua-l archive

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


> Personally I'd be in favor of dropping the option of no parentheses from
> function calls if I could drop all commas from the language.  This would break
> compatibility with existing code but the fix would be trivial.

A better compromise would be a allow removal of comma only after the
key-value syntax
  key = value
or (why not)
  ["key"] = value

But not for array syntax
 t = { 3 2 1 'Boom' }