What are the craziest, dumbest, most mind-bending things you've seen/done in programming?

I'm particularly interested in Ruby, but any language will do. I want to know about things that perhaps ought not be done, or things you wonder about how they were done.

Thanks for your help!

    This is a required question
    This is a required question
    This is a required question
    This is a required question
    This is a required question
    This is a required question