Okay, after seeing that scary Unit case earlier, how can we implement the so-called loose coupling architecture?
Here, I will divide the entire Unit program into four parts for consideration: data layer, visual layer, logic layer, and composition layer.
Data layer
The data layer is used to ...