Refactoring

Improving the Design of Existing Code

448 pages

English language

Published Jan. 21, 2018 by Addision-Wesley.

ISBN:
978-0-13-475759-9
Copied ISBN!

View on OpenLibrary

No rating (0 reviews)

Refactoring is a controlled technique for improving the design of an existing code base. Its essence is applying a series of small behavior-preserving transformations, each of which "too small to be worth doing". However the cumulative effect of each of these transformations is quite significant. By doing them in small steps you reduce the risk of introducing errors. You also avoid having the system broken while you are carrying out the restructuring - which allows you to gradually refactor a system over an extended period of time.

My book describes the process of refactoring and spends most of its time explaining how to do the various refactorings - the behavior preserving transformations. The book opens with a simple example that describes the whole process. There are then some introductory chapters that discuss broader issues around refactoring, the “code smells” that suggest refactoring, and the role of testing.

The bulk of …

1 edition