Maintaining unmaintainable code

Posted by uman on Programmers See other posts from Programmers or by uman
Published on 2011-01-03T21:36:30Z Indexed on 2011/01/03 21:59 UTC
Read the original article Hit count: 167

Filed under:

Hi guys,

I'm at a job where I have to do a lot of bugfixing in code that's, shall we say, not the most best-practicey in the world. One example I found today: The logic for checking whether a form has been modified and we should prompt the user if he wants to save is in a function called "IsImage". The function has nothing to do with images whatsoever. Hmmm...

How do fellow stackexchangers deal with situations like this and maintain their sanity?

© Programmers or respective owner

Related posts about Maintenance