News for hackers. Stuff that matters.
Re:Java 8 lambda syntax decided - same as C# and Scala by moomin on Friday September 09, 2011 @09:34AM (#2978022)
Cool. Now how about

companies .Where(c => c.Name.StartsWith("A")) .GroupBy(c => c.Sector, c => c.ProfitAndLoss) .Select(g => new {Sector = g.Key, Profitability = g.Sum()}

Closures are massively more compact than running around with inner classes for everything.

There are no comments on this comment yet.