News for hackers. Stuff that matters.
Re:Ask HN: Do you use programming tricks in real life too? by there on Wednesday September 15, 2010 @07:33PM (#1696261)
premature optimization: rather than order and sort bills and receipts into separate folders, i just toss them into a big pile. why waste time on the INSERT when you SELECT from it so rarely?
Re:Ask HN: Do you use programming tricks in real life too? by aquark on Wednesday September 15, 2010 @08:12PM (#1696341)
Agreed -- my filing system became so much easier when I realized that reads were rare. Just bucket (well, box) by a suitable parameter, typically date, and you're done.