News for hackers. Stuff that matters.
Re:Ask HN: Do you use programming tricks in real life too? by ajennings on Wednesday September 15, 2010 @08:02PM (#1696325)
I like to try different sorting algorithms when sorting physical things. I tried patience sorting last time I had to sort a big pile of books (I was sorting by width).
Re:Ask HN: Do you use programming tricks in real life too? by philwelch on Thursday September 16, 2010 @12:25AM (#1696809)
Quicksorting a deck of cards is not actually that quick, oddly.