
Working Effectively with Legacy Code • Michael Feathers & Christian Clausen
GOTO - The Brightest Minds in Tech
00:00
*Strategies for managing legacy code; local changes have global consequences *
When working with legacy code, it is important to limit the tendency of local changes to have global effects. Encapsulating code tightly can help limit these effects and prevent them from escaping. This can be done through methods such as encapsulating data, using constructors and passing arguments, or avoiding direct mutation of data. Additionally, tests can be used to alert developers to any non-local changes that occur in the code.
Transcript
Play full episode
Remember Everything You Learn from Podcasts
Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.