Open to extension, closed to modification

1. Don't modify other people's methods easily. Some methods may be called in many places and thrown away by other external calls (you don't know who was called). Do compatibility and extension

2. Your own design guarantees good scalability. It is open to expansion and closed to modification.

 

Do n’t write dead decoupling data dictionary configuration 

Guess you like

Origin www.cnblogs.com/light-train-union/p/12674000.html
Recommended