Refactoring: Improving the Design of Existing Code
by Martin Fowler, Kent Beck, John Brant, William Opdyke, Don Roberts
List of Soundbites
Page 7 When you find you have to add a feature to a program, and the program’s code is not structured in a convenient way to add the feature, first refactor the program to make it easy to add the feature, then add the feature.
Page 8 Before you start refactoring, check that you have a solid suite of tests. These tests must be self-checking.
Page 13 Refactoring changes the programs in small steps. If you make a mistake, it is easy to find the bug.
Page 15 Any fool can write code that a computer can understand. Good programmers write code that humans can understand.
Page 53 Refactoring (noun): a change made to the internal structure of software to make it easier to understand and cheaper to modify without changing its observable ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access