Development Practices Testing and Legacy Code, A Primer As much as we all might like to throw out legacy code, and “do it right,” that’s often an entirely impractical option or just a plain dumb thing to do.