[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lambda (was Re: special forms, take two (was Re: A lua version of "amb"))
- From: Leo Razoumov <slonik.az@...>
- Date: Thu, 1 Mar 2012 06:25:01 -0500
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--