The Daily WTF Today’s Anonymous submitter was reviewing some C++ code, and saw this perfectly reasonable looking pattern. class SomeClass {
The Daily WTF Now, I would argue that the event-driven lifecycle of ASP .Net WebForms is a bad way to design web applications. And it’s
The Daily WTF Mark was debugging some database querying code, and got a bit confused about what it was actually doing. Specifically, it generated
The Daily WTF We talked about singletons a bit last week. That reminded John of a story from the long ago dark ages where we didn’t have
The Daily WTF When faced with an information system lacking sufficient richness to permit its users to express all of the necessary data states,
The Daily WTF You know what definitely never changes? Shipping prices. Famously static, despite all economic conditions and the same across all
The Daily WTF Singletons is arguably the easiest to understand design pattern, and thus, one of the most frequently implemented design patterns,
The Daily WTF Honestly, I don’t know what to say about this code sent to us by Austin, beyond “I think somebody was very
The Daily WTF Do you know what I had forgotten until this morning? That VBScript (and thus, older versions of Visual Basic) don’t require
The Daily WTF I never did explain the elusive off-by-one I hinted at, did I? A little meta, perhaps. It is our practice at Error’d to