Link Details

Link 85643 thumbnail
User 285573 avatar

By alashcraft
via codeproject.com
Published: Jun 08 2008 / 09:57

Refactoring Legacy Code is always a challenge. Per Working effectively with Legacy Code, Michael Feathers 'Legacy code is any code without unit tests'. To refactor you need unit tests. To add unit tests to Legacy Code which was not written with Testability in mind we need to refactor it. It becomes a chicken and egg story and in the end neither refactoring nor adding unit tests happen. Legacy code continues to deteriorate and becomes unmanageable eventually.
  • 9
  • 0
  • 1110
  • 255

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (9)



Voters Against This Link (0)