Jeremy Miller has
posted an excellent
article
with tips about working with Legacy Code. I've had similar
experiences with some code that definitely meets the definition Jeremy proposes:
"Legacy Code is code you're afraid of". I particularly agree with the
tip that improving error handling in legacy code (which is usually a mess, in my
experience) is a critical step to prevent the code from making your life
miserable.


Tomas Restrepo

Software developer located in Colombia. Sr. PFE at Microsoft.