clients know the methods
客户知道方法
以上为机器翻译结果,长、整句建议使用 人工翻译 。
Once an interface has gotten too'fat' it needs to be splitinto smaller and more specific interfacesso that any clients of theinterface will only know about the methods that pertain to them.
一旦一个接口太大,则需要将它分割成一些更细小的接口,使用该接口的客户端仅需知道与之相关的方法即可。
youdao
应用推荐
模块上移
模块下移
不移动