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 ...

Get Beyond Legacy Code 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.