The Daily WTF There are often two types of software development departments mentioned: the kind where software is the product, and the kind where
The Daily WTF No loops, no branches, barely a pun and almost free of alliteration. Big-box shopper Worf discovers “This Chromebook’s
The Daily WTF Dan was reviewing some PHP code written by a co-worker, as part of taking on a project. The code was in “support” mode, rarely
The Daily WTF Imagine, if you will, that you see a method called FileExists. It takes a string input called strPath, and returns a bool. Without
The Daily WTF Today’s sample comes from Vasiliy, with no real explanation for where it is, or where it comes from. Frankly though, it
The Daily WTF User experience, and its related topic of user interface design, are important. How important? Well the US government’s General
The Daily WTF Today’s Error’d submissions all center around another common pitfall of the modern web application: failed text
The Daily WTF Jaco was adding some caching to a Java application. Quite wisely, Jaco wrote plenty of tests around his change, ran the test suite,
The Daily WTF One of the powers of structured exception handling is that it lets you define your own exception types. That’s useful, as
The Daily WTF Sometimes, it really is the comment which makes the code. Sometimes, the comments make simple (but still more complex than it needs