What to Do When the Code Sucks

I've written a few times about people saying, "This code sucks." Most of the time the sucky code in question was written by somebody else — another employee or a different vendor.

On occasion, it was written by the very person who is talking to me about it, usually 6 months or more in the past. That is always a fascinating conversation, but that is not what this blog is about. This blog is about the other situation: "This bad code was written by somebody else and it is bad, bad code."