ShopSpell

Refactoring: Improving the Design of Existing Code [Hardcover]

$61.99       (Free Shipping)
43 available
  • Category: Books (Computers)
  • Author:  Fowler, Martin
  • Author:  Fowler, Martin
  • ISBN-10:  0134757599
  • ISBN-10:  0134757599
  • ISBN-13:  9780134757599
  • ISBN-13:  9780134757599
  • Publisher:  Addison-Wesley Professional
  • Publisher:  Addison-Wesley Professional
  • Pages:  448
  • Pages:  448
  • Binding:  Hardcover
  • Binding:  Hardcover
  • Pub Date:  01-Jul-2018
  • Pub Date:  01-Jul-2018
  • SKU:  0134757599-11-MING
  • SKU:  0134757599-11-MING
  • Item ID: 102547079
  • Seller: ShopSpell
  • Ships in: 2 business days
  • Transit time: Up to 5 business days
  • Delivery by: Nov 30 to Dec 02
  • Notes: Brand New Book. Order Now.

Martin Fowleris Chief Scientist at ThoughtWorks. He describes himself as “an author, speaker, consultant and general loud-mouth on software development.” Fowler concentrates on designing enterprise software: exploring what makes a good design and what practices are needed to create one.

Foreword to the First Edition xi

Preface xiii

 

Chapter 1: Refactoring: A First Example 1

The Starting Point 1

Comments on the Starting Program 3

The First Step in Refactoring 5

Decomposing the statement Function 6

Status: Lots of Nested Functions 22

Splitting the Phases of Calculation and Formatting 24

Status: Separated into Two Files (and Phases) 31

Reorganizing the Calculations by Type 34

Status: Creating the Data with the Polymorphic Calculator 41

Final Thoughts 43

 

Chapter 2: Principles in Refactoring 45

Defining Refactoring 45

The Two Hats 46

Why Should We Refactor? 47

When Should We Refactor? 50

Problems with Refactoring 55

Refactoring, Architecture, and Yagni 62

Refactoring and the Wider Software Development Process 63

Refactoring and Performance 64

Where Did Refactoring Come From? 67

Automated Refactorings 68

Going Further 70

 

Add Review