CodeSOD: Classic WTF: One-and-a-Half-Tiered Application Design (opens in new tab)
It's a holiday in the US today, so we're reaching back into the archives. What we really need is a single function that can do it all, and by "it" we mean "ruin your life." Remy There are several types of bad code; there's lazy code, frantic code, unaware-of-a-better-way code, and aware-of-a-better-way-but-too-apathetic-to-do-it code, to name a few. Then there're amalgamations of different types of bad code. Môshe encountered such an amalgam when his company was trying out a new delivery serv...
Read the original article