Every day we talk about best practices, efficiency, and optimization. Other than from the depths of r/ProgrammerHumor, and more, we never really talk about bad code. But as I browse Twitter and Reddit I occasionally hear stories of just awful code. The snippets the still gives you nightmares because you know deep down you know it's still out there running in prod.
So in a moment of gaining perspective for all sides of software development, and jest, what are your stories?