autopilot code

Code that was written by a programmer on "auto-pilot" who wasn't really thinking about what they were doing.

[Dodgy Coder].