The legacy code change algorithm

When you have to make a change in a legacy codebase, here is an algorithm you can use:

  • Identify change points
  • Find test points
  • Break dependencies
  • Write tests
  • Make changes and refactor

Get Test-Driven Java Development - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.