[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: mass alias assignment?
- From: Olivier Galibert <galibert@...>
- Date: Fri, 11 Feb 2011 21:55:30 +0100
On Fri, Feb 11, 2011 at 11:28:14AM -0500, Steve Litt wrote:
> On Friday 11 February 2011 01:59:09 Jon Akhtar wrote:
> > On Thu, Feb 10, 2011 at 10:56 PM, Xavier Wang <firstname.lastname@example.org> 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.
Yeah, but you would also lose multiple values returns from functions.