[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Thoughts on optional commas
- From: Patrick Rapin <toupie300@...>
- Date: Sat, 3 Mar 2012 16:38:25 +0100
> 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' }