>That code was written 2 years before he was let go, so he had multiple warnings and chances.
Amazing that a guy could be let go for writing code like that, and yet you'd hire a developer who shows up for an interview with a rented suit that still had the tags on the sleeves.