How To Write Unmaintainable Code
And I know that probably many people have already peeked at this document or some similar document before, but that doesn't make it less entertaining.
Similar-Sounding Similar-Looking Variable Names: This is a suggestion that musicdieu appears to already follow with his "foo" and "zoo" variable names.
There are so many great ideas to sift through that it's hard to pick out which would impress me most. Nevertheless, the following example was pretty entertaining.
Choose variable names that masquerade as mathematical operators, e.g.:
openParen = (slash + asterix) / equals;
I mean.. WTF?
From there I wandered on to The Daily WTF for some more chuckles before I realized that it'd gotten a little late.
Anyway, to top it all off, This Code Sucks has some gems if you're really looking to laugh.. or cry.