2005-12-29

Bad, Worst, Best

Bad: Alleged "programmer" coworker asks you for help understanding C# syntax.

Worst: The syntax in question is "If i++ increments the variable i by one, how do you do it by eleven?"

Best: Your coworker's plight gets posted to The Daily WTF and results in 5 pages' of zany programmer advice on how to add by eleven. If you're a programmer, this thread should not fail to amuse. Just about every conceivable solution is in here from the obvious for() loops, switch() statements, and variations on "++i; ++i; ... ++i;", to overloading the ++ operator itself. Hilarious.

No comments: