Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Lambda expression comparison between C++11, C++14 and C++17. Parent comment
Statemends like :
list.Where(e => e.Property == ExpectedValue).Select(e => e.Property)
list.Where([](auto e) { return e.Property == ExpectedValue; }).Select([](auto e) { return e.Property; });
There are no comments on this comment yet.
Statemends like :
is much cleaner than something like : Braces and capture declaration adds 0 value here and it's ~80% of the use cases I see for lambdas.