Chapter 3. Preparing to refactor
This chapter covers
- Getting everybody on board with your plan for refactoring
- Deciding whether to refactor or to rewrite from scratch
- Deciding what is and isn’t worth refactoring
In this chapter we’ll tackle some of the nontechnical issues that you’ll often face when carrying out a major refactoring on a real-world codebase. In an ideal world, you’d have complete freedom and unlimited amounts of time to craft beautiful code, but the reality of software development often demands compromise. When you’re working as a member of a team, which in turn is part of a larger organization with plans and goals, budgets and deadlines, you’ll need to hone your negotiating skills in order to achieve consensus from both ...
Get Re-Engineering Legacy Software 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.