阅读背景:

耦合,内聚和Demeter定律

来源:互联网 

The Law of Demeter indicates that you should only speak to objects that you know about directly. That is, do not perform method chaining to talk to other objects. When you do so, you are establishing improper linkages with the intermediary objects, inappropriately indicates that you should on




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: