O'Reilly logo

Beyond Legacy Code by David Scott Bernstein

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

Let’s Get Practical

Here are some ways to put these ideas into practice.

Seven Strategies for Helping You Justify Refactoring

Refactoring gives developers another chance to improve their designs and often gives management a cheaper and less risky way to ready an existing system for adding new features. Here are seven strategies to help you justify refactoring code.

To learn an existing system

Refactoring code is a great way to learn the code and to embed what’s learned into the code. For example, replacing or wrapping a poorly named method with a better named method gives us the opportunity to improve the code’s readability. At the same time, you’re learning how a system works and embedding that knowledge into the source code, in this case by ...

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