Stupid code
From Software By Jeff
A large part of what is done here is software development. Much of that is modifying or maintaining software written by others. That is to say that by the time I got to the code, it had been modified, and quite possibly not by the original author.
While negativity is discouraged, venting is sometimes required. Perhaps seeing some examples and explanations will help someone else write more intelligent code.