《设计模式精解》解读1

设计模式精解第一章:An introduction to? Ojbect-Oriented Software? Development.

It is the first time that I go to see an orginal edtion programming book.The following arguments are my feeling when I have seen the chapter one of this book.

  1. When we need the Ojbect-Oriented theory ? It causes?that ?the?project requirement?often?have been?changed ?by the customers. The Functional decompostion method is not fit to solve the above problem. Consequencely, the new method which called Ojbect-oriented overcome "road-block".
  2. Which requirements are changed are the important in the project?
    1. requirements are incomplete.
    2. requirements are ususally wrong.
    3. requirements are misleading.
    4. requirements do not tell the whole story.
  3. dealing with the?changes?,the?functional decompostion will use the modular?instead of the simple?functional?method?.But these don't? emerged from the Object-Oriednted function ,because each object have its responsibilities in the Object-Oriented theory,We don't need to dispose the method?among them ,the only thing we have to the konw it's the relationship between every two of them. And then use the Object-Oriented three features to reslove the problem.They are visibility , Encapsulation,Polymorphism.

?

?

?

?

?

?

?

?

?

你可能感兴趣的:(设计模式,Go)