Item added to cart
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
Copyright © 2018 - 2024 ShopSpell