Expression closures - use-cases for shortcut lambda syntax (blocks)

Igor Bukanov igor at
Sat Mar 17 15:03:06 PDT 2007

On 17/03/07, Vassily Gavrilyak <gavrilyak at> wrote:
> Now this is easy to fix and C# 3 fixed, providing inference and
> anonymouse functions shortcuts
> Now people can write shortly and typed
> people.OrderBy( it =>
> ES4 is almost as good, but still longer
> people.orderBy(function(it)
> So people would still use shorter untyped version.

So why not to propose C# syntax? IMO
 array.filter(elem => elem > 0)
looks better than
 array.filter((\elem) elem > 0)

Regards, Igor

More information about the Es4-discuss mailing list