Contents
Building on the Foundations Laid by Others
Chapter 1: Refactoring, a First Example
Decomposing and Redistributing the Statement Method
Replacing the Conditional Logic on Price Code with Polymorphism
Chapter 2: Principles in Refactoring
Where Did Refactoring Come From?
Chapter 3: Bad Smells in Code (by Kent Beck and Martin Fowler)
Get Refactoring: Improving the Design of Existing 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.