Pregunta de entrevista de Gameloft

How would you handle taking over someone else's spaghetti code?