News for hackers. Stuff that matters.
Re:How to write X in both Python 3 and JavaScript by symlinkk on Friday September 14, 2018 @11:16AM (#17987795)
C# has a syntax called Linq Query Syntax that provides keywords in the language to do things like map, filter, and reduce.

Example:

  var queryLondonCustomers = from cust in customers
                             where cust.City == "London"
                             select cust;

I'm not a big fan of it honestly, the function style seems more consistent and easier to read to me.

There are no comments on this comment yet.