O'Reilly logo

Re-Engineering Legacy Software by Chris Birchall

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 10. Stop writing legacy code!

This chapter covers

  • Applying the techniques you’ve learned to new code as well as legacy code
  • Writing disposable code

By now you should have a good idea of how to start tackling any neglected legacy code that you inherit and nurse it back to health. We’ve looked at rewriting, refactoring, continuous inspection, toolchain updates, automation, and a whole lot more. But you probably spend at least some of your time writing new code as well. You may be wondering whether all code is doomed to become legacy, or if there’s anything you can do to prevent the code you’re writing right now from becoming somebody else’s nightmare in a few years’ time.

We’ve covered an enormous range of material over the last ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required