News for hackers. Stuff that matters.
Re:LINQ Ruined My Favorite Interview Question by runT1ME on Thursday July 11, 2013 @05:00PM (#6029204)
>It's C#'s version of the lazy collection operations you find in most functional languages, just given friendlier sqlish names. (IE, "Select" instead of "map" and "Where" instead of "filter")

Actually........

It's more generic than that. It's C#'s monadic comprehension syntax ala Scala's for and Haskell's Do.

It works on more than just IEnumerable, it actually works on anything that implements Select, SelectMany, and Where...

Re:LINQ Ruined My Favorite Interview Question by softbuilder on Thursday July 11, 2013 @10:54PM (#6030653)
This is super obvious if you watch some of Erik Meijer's excellent videos on Channel 9. Recommended viewing for anyone reading this who hasn't. Watching him bounce between Haskell and C# felt like someone explaining etymology by moving between Latin and English.