News for hackers. Stuff that matters.
Re:Was object-oriented programming a failure? (2015) by mattmanser on Monday March 13, 2017 @12:08PM (#13859039)
A better solution than that has been in heavy use for a decade in C#. Works on anything that implements `IEnumerable`.

    db.Orders.Sort(o => o.StartDate)
I've also never found ordering code to be the bulk of my logic, but whatever.

Anyway, generics. Without having to muck around with funky designs for your classes.

There are no comments on this comment yet.