lua-users home
lua-l archive

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


On Thu, Mar 1, 2012 at 03:23, Dirk Laurie <dirk.laurie@gmail.com> wrote:
>
> I think there is a place for lambda-style syntax.
>
> I don't think that place is Lua.
>

Wholeheartedly agree. Simplicity is a virtue. I am using lots of small
and anonymous functions. I like the fact that Lua has only one way of
creating the closures. I do not mind to type "function(...) ... end"
each time. When reading the code I have not noticed any extra clutter
stemming from the full syntax compared to language like Ruby that
provide short-cuts.

--Leo--