[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lightweight function syntax (again) Re: [ANN] Lua 5.2.0 (alpha-rc2) now available
- From: steve donovan <steve.j.donovan@...>
- Date: Tue, 23 Nov 2010 08:09:01 +0200
On Mon, Nov 22, 2010 at 10:26 PM, Antonio Vieiro
<antonio@antonioshome.net> wrote:
> In fact I'd prefer using parenthesis even for single arguments, so I'd
> rather write print("Hello") instead of print "Hello". It's easier to
> parse as well.
Ah, but you can always do that in your own code. This bit of sugar is
_very_ useful when Lua is operating in data-description mode, the same
for fun {...}
steve d.