Domanda di colloquio di Xerox

How would you deal with really bad code?