Worse things happen in the world of coding. Some would say that this is just plain wrong. And others would just get paid and be happy that the code works. It all depends on what sort of programmer you want to be.
http://www.codingconfessional.com/
or
http://pragprog.com/the-pragmatic-programmer