News for hackers. Stuff that matters.
Re:C#'s 101 LINQ Samples translated to Swift by lukesandberg on Monday June 09, 2014 @05:15PM (#7870564)
It's been a while since i have written c# but wouldn't a closer/fairer comparison have been to use the fluent methods?

e.g. instead of var result = from p in numbers where p < 5 select p;

you could write: var result = numbers.Where(p => p < 5);

the 'from ...' and 'select ..' adds a lot of boilerplate