[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Syntax Sugar in Lua 5.2
- From: Jonathan Castello <twisolar@...>
- Date: Mon, 23 Aug 2010 18:05:07 -0700
On Mon, Aug 23, 2010 at 5:59 PM, Daniel Aquino
> I actually wouldn't mind if all there was is name = function() end
> it's more descriptive of what's really going on.
I agree, more often than not I completely forgo the "function name()
end" syntax because I'd rather work with a single model of what's
going on. Notably, the difference between "local foo = function() end"
and "local function foo() end" bothers me.