Category Archives: programming

Midday Musings

I am sitting at work reading Joel On Software. In the linked article, Joel insists that you should “never let people work on more than one thing at once.” Which is fascinating, because it’s the end of the iteration and … Continue reading

Posted in Musings, programming | Tagged , | Leave a comment

Donut time

Why on earth is this standard behavior? File[] files = dir.listFiles(filter); for (File file : files) { //snip } Throws a null pointer if dir has no files. Wtf. Why not an array of length 0? This code won’t ever … Continue reading

Posted in programming | Tagged , | Leave a comment