Gamasutra has an interesting and funny feature detailing hacks or “dirty coding” used when developing videogames:

Programmers are often methodical and precise beasts who do their utmost to keep their code clean and pretty. But when the chips are down, the perfectly-planned schedule is shot, and the game needs to ship, “getting it done” can win out over elegance.

Gamasutra – Dirty Coding Tricks