The Daily WTF In the far-off era of the late-90s, Jens worked for a small software shop that built tools for enterprise customers. It was a small
The Daily WTF One would imagine that logging has been largely solved at this point. Simple tasks, like, “Only print this message when
The Daily WTF Dave‘s codebase used to have this function in it: public DateTime GetBeginDate(DateTime dateTime) { return new
The Daily WTF Date problems continue again this week as usual, both sublime (Goodreads!) and mundane (a little light time travel). If you want to
The Daily WTF Rui recently pulled an all-nighter on a new contract. The underlying system is… complicated. There’s a PHP front end, which
The Daily WTF Branon‘s boss, Steve, came storming into his cube. From the look of panic on his face, it was clear that this was a full
The Daily WTF Donald was cutting a swathe through a jungle of old Java code, when he found this: protected void waitForEnd(float time) { // do
The Daily WTF FreeBSDGuy sends us a VB .Net snippet, which layers on a series of mistakes: If (gLang = “en”) Then If
The Daily WTF Inability to properly program dates continued to afflict various websites last week, even though the leap day itself had passed.
The Daily WTF Today, John sends us a confession. This is his code, which was built to handle ISO 8583 messages. As we’ll see from some