Post your favorite Daily WTF
articles here. Or don't, your call.
Today's is... interesting: The Contractor
. This quote should serve to epitomize its absurdity: "Their head DBA explained that the difference between a uniqueness constraint
and a primary key
was semantics, and that audit records and current records should always be stored in the same table so as to keep related data together." Your Code Might Be Unmaintainable...
gives a nice overview of some of the more common offenses against good programming, Jeff Foxworthy style.
Then there is the one I contributed myself: Test No Software Before it Ships!
Some famous ones:The Brillant Paula BeanThe For-Case Paradigm
and the follow-up A Truly Selective Case
(and which is so common that it later got formalized as the anti-pattern Loop-switch sequencing
)unstd::toupperTossing Your Cookies
(this is... er, a favorite of mine I guess you might say, because it is the sort of thing that haunts the nightmares of pentesters everywhere. PHEER TEH SQUEAL KOOKIEZ!)ITAPPMONROBOTget_words_from_a_number_which_is_passed_as_a_perimeter_into_this_functionManual AutomationHappy Merge Day!The Big Ball of YarnOhGodNoSQLAs the World TernariesRe-RelationalAlmost Counting Past 100