News for hackers. Stuff that matters.

andy_t

Re:The anatomy of a post that got over 500,000 likes on Thursday January 17, 2013 @05:17PM (#5075588)
I don't think I've ever seen a more vapid blog than the Marc & Angel site.
Re:Best Practices for Linq Enumerables and Queryables on Friday August 24, 2012 @12:39PM (#4428324)
Like this:

  var thing = 
    from x in stuff
    let derp = x.herp
    select { x.name }
Equals this:

  var thing = stuff.Select( x => {
    var derp = x.herp;

    return new { x.name };
  } );
edit: formatting.

I think each have their place, but this absolutely enrages me:

  var things = ( from x in thingList select x ).ToList()