Decoupling and design

xiaoxiao2021-03-06  70

The decoupling is good, but this is the premise between the module. Over-emphasis is a typical example of excessive design. Because I remember that in addition to the coupling book, in addition to the "small coupling between the modules", there is "the module has a high coupling very high" such a sentence.

Imagine a state of decoupling to the limits, so that all substances between the universe are evenly distributed on time and space, there is no Milky Way, there is no earth, and these substances on my body will not gather together to let me say these nonsense. :).

Because I still exist, continue to talk nonsense, so all substances between the universe is not even distributed on time and space. So the software still has to be divided into many subsystems, modules, objects, and methods, so talking to the decoupling between modules, anything is degrees.

I think procedures logic and data (corresponding to substance) through concepts of conscious forming module (object) process, the process of physically puts some relevant logic (methods or data) together. The gradual cohesion of this object concept is a follow-up decoupling simultaneously, because the process of cohesion represents a decoupling with another object, and the process is similar to the process of longevity from embryos. Everyone is in the form of a cell in the form of a cell, then gradually differentiates, gradually divides a lot of different parts, and in this process, each part is associated with each other because of differentiation.

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

New Post(0)