保持简单的继承层次结构。
Keep your inheritance hierarchy simple.
youdao
原因很简单:模型具有自己的继承层次结构。
The reason is simple: The module has an inheritance hierarchy of its own.
在继承层次的每个端点,我们需要两个新类来完成这个。
We need two new Classes at either end of the inheritance hierarchy to do this.
避免深度继承层次。
Avoid deep inheritance hierarchies.
应用推荐
模块上移
模块下移
不移动