10 Augmenting Code
The reality of professional software development is that you mostly work with existing code. The previous chapters had much to say about beginning a new code base, and how to go from zero to a working system as efficiently as possible. Greenfield development comes with its own set of challenges, but they’re different from the problems typically associated with making changes to an existing code base.
You’ll mostly be editing production code. Even if you do test-driven development, you’ll mostly be adding new tests, while you’ll often have to change existing production code.
The process of changing the structure of existing code without changing its behaviour is called refactoring. Other resources [34][53][27] already cover ...
Get Code That Fits in Your Head: Heuristics for Software Engineering 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.