The Daily WTF I’ve known a surprising number of developers who say, “Why use any higher level abstractions, you can just do this all
The Daily WTF It’s a holiday in the US today, so as per tradition, we reach back through the archives. Today is a classic of code
The Daily WTF …and we’ll cry though we really don’t want to. Celebrant Joe cheered “Happy birthday DailyWTF! My gift to
The Daily WTF Alan worked on a website which had a weekly event which unlocked at 9PM, Saturday, Eastern Time. The details of the event
The Daily WTF We’re all used to Java class names that are… verbose. Arno sends us a representative Java line, which demonstrates that this
The Daily WTF Visual Studio and the .NET languages support a feature known as “regions”. Enclosing a block of code between #region
The Daily WTF Good method names are one of the primary ways to write self-documenting code. The challenge there, is that documentation often
The Daily WTF This week we have an unusual number of submissions involving dates or timestamps. That is, the usual sorts of error’ds, but
The Daily WTF Today’s a simple one. We’ve all seen code that relies too heavily on string concatenation and eschews useful methods
The Daily WTF Juliano had this very non-WTF bit of PHP code: if (!$path) { //do stuff } else { //do other stuff } After another team member made