Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It's not as concise as Haskell, but the addition of FP capabilities to C# make it a lot more pleasant as a practical language than it was in earlier days.

var filteredCollection = collection.Where(x => predicate(x));



As far as I remember you can write that as

  var filteredCollection = collection.Where(predicate);
I agree that C# is a fundamentally usable language.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: