The key points of Working Effectively with Legacy Code - Change Messy Software Without Breaking It
The book argues that the safest way to change legacy code is to add fast automated tests first, then refactor. It introduces seams, characterization tests, and Sprout/Wrap techniques for risky code.