Reconstruction and mode (Joshua Kerievsky a)

Writing reason the first chapter of this book

Chapter 2 reconstructed

Chapter 3 mode

Chapter 4 code is bad taste

Chapter 5 model-driven reconstruction catalog

Chapter 6 Creating

Chapter 7 simplified

Chapter 8 generalization

Chapter 9 protection

Chapter 10 aggregate operations

Chapter 11 practical reconstruction

references

 

Writing reason the first chapter of this book

  1.1 Transition Design

  1.2 mode panacea

  1.3 Design inadequate

  1.4 test-driven development and continuous refactoring

  1.5 Reconstruction and mode

  1.6 Evolutionary Design

Chapter 2 reconstructed

  2.1 What is reconstruction

  2.2 Reconstruction of motivation

  2.3 watchful eyes

  2.4 good code readability

  2.5 keep clear

  2.6 step by step

  2.7 Design debts

  2.8 evolution of a new architecture

  2.9 Composite Reconstruction and test-driven reconstruction

  2.10 advantage reconstituted composite

  2.11 refactoring tools

Chapter 3 mode

  3.1 What mode

  3.2 obsessed mode

  3.3 more than one way to achieve mode

  3.4 By reconstructing achieved, trends and removal mode

  Whether the 3.5 mode makes the code more complicated

  3.6 Mode knowledge

  3.7 Use of pre-designed patterns

Chapter 4 code is bad taste

  4.1 Repeat Code (Duplicated Code)

  4.2 too function (Long Method)

  4.3 too complex conditional logic (Conditional Complexity)

  4.4 The basic type paranoid (Primitive Obsession)

  4.5 inappropriate exposure (Indecent Exposure)

  4.6 Solution spread (Solution Sprawl)

  4.7 similar to the class (Alternative Classes with Different Interfaces)

  4.8 verbose class (Lazy Class)

  4.9 oversized classes (Large Class)

  4.10 branch statement (Switch Statement)

  4.11 combinatorial explosion (Combinatorial Explosion)

  4.12 weird Solutions (Oddball Solution)

Chapter 5 model-driven reconstruction catalog

  5.1 Reconstruction format

  5.2 in this catalog project references

    5.2.1 XML Builder

    5.2.2 HTML Parser

    5.2.3 credit risk calculation program

  5.3 starting point

  5.4 learning sequence

Chapter 6 Creating

  6.1 Creation Method replaced by constructors

    6.1.1 Motivation

    6.1.2 practice

    6.1.3 Example

    6.1.4 variant

  

Chapter 7 simplified

 

Chapter 8 generalization

 

Chapter 9 protection

 

Chapter 10 aggregate operations

 

Chapter 11 practical reconstruction

 

references

 

Guess you like

Origin www.cnblogs.com/revoid/p/11165816.html