News for hackers. Stuff that matters.
Re:Lambda expression comparison between C++11, C++14 and C++17 by rubber_duck on Sunday May 15, 2016 @04:32PM (#11702602)
It really works without any issues in C# from my experience.

Statemends like :

    list.Where(e => e.Property == ExpectedValue).Select(e => e.Property)
is much cleaner than something like :

    list.Where([](auto e) { return e.Property == ExpectedValue; }).Select([](auto e) { return e.Property; });
Braces and capture declaration adds 0 value here and it's ~80% of the use cases I see for lambdas.

There are no comments on this comment yet.