I've made many mistakes in my life but I always had enough respect for technology to not yank out parts of a system which I did not understand.
That said, I'm pretty sure the original author knew and understood exactly what they were doing - writing a dirty hack.
On your development machine or on machines of other people all around the world? You can also gain understanding from the later, too.