lua-users home
lua-l archive

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


On Friday 11 February 2011 01:59:09 Jon Akhtar wrote:
> On Thu, Feb 10, 2011 at 10:56 PM, Xavier Wang <weasley.wx@gmail.com> wrote:
> > What will happen if we add a = b = c support in lua?
> 
> It would make it easier to write and harder to read.
> 
> a,b,c = d,e, = f

You know, a,b = c,d is so hard for me to understand/contemplate, that in Lua I 
just do my assigns one at a time, which isn't a huge inconvenience.

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt