Tuesday, June 27, 2006

The Daily WTF

The Daily WTF is a blog site that lists everything from software architectures to actual pieces of source code that just make you shake your head and say "What the F**k?" (hence WTF). Most are overly complicated ways of doing something easy, like the function that determined if a number was negative by converting it to a string and then checking if the first character was '-'. I guess "num < 0" was just too obscure.

This might be the more frightening (and hilarious at the same time) piece I've ever seen on there. Thank God I don't have to deal with this kind of stuff. The managers where I work are all really good &mdash and I'm not just saying that because my manager reads my blog. Really.

Technorati tags:


No comments: