Design Pattern of Curriculum Design 3-2 succinctly explain the principles of opening and closing

A section

1.1 The core idea

1.2 understand

1.3 Definitions

1.4 advantage

 

A section

1.1 The core idea

Abstract-oriented programming (since abstract stable)

 

1.2 understand

It does not change the original business logic, the new function point method programmed by overwriting multiplexing

 

1.3 Definitions

◆ defined: a software entity, such as classes, modules and functions should be open for extension but closed for modification .

 

1.4 advantage

Improve software reusability and maintainability

 

Guess you like

Origin www.cnblogs.com/1446358788-qq/p/10959250.html