You are viewing a single comment's thread from:
RE: C# Lambda... are you using them wrong?
Not really. Take the following
var wanted = things.Where(thing => IsWanted(thing));
var wanted = things.Where(IsWanted);
With a collection 1000 elements long the first one will result in 1000 extra function calls because of the pointless wrapper. So more stack manipulation etc.
So just using the method group saves a lot of work and is cleaner.
When you get to using partial application in C# then you are right, it does become about sugar, C# does not curry at a language level.