Learning mode summary - coupling

xiaoxiao2021-03-06  21

Coupling:

Object-oriented design is to increase reuse, and to improve multiplexing, design must be flexible enough, and easy

Extension, but it is actually very difficult. We know that if there is too close to the Eastern Affairs

It is not very flexible, and the relationship between the relationship is the coupling between the objects. Object-oriented

The relationship between pictures can be summarized as a general relationship, association relationship, dependencies. General relational coupling degree

The biggest, associated, depending on the minimum. In order to improve the flexibility and scalability of the design, we need to reduce the target

The coupling, of course, there is still no coupling between the objects that the contact, is also impossible, and the decrease in coupling is

Increase the difficulty of design, the complexity of the system, and the cost of implementation, so these factors must be integrated during the design process.

Consider, because our ultimate goal is to reduce costs and create benefits.

转载请注明原文地址:https://www.9cbs.com/read-39714.html

New Post(0)