• The interesting thing about method Pointers is that their use can be an indication that the code violates the Law of Demeter.

    关于方法指针,有意思事情它们使用可能表明代码违反了迪米特法则。

    youdao

  • In Listing 9, you can see how this code demonstrates the Law of Demeter — and how it could be used to wreak havoc with people's wallets!

    清单9中,可以看到这些代码演示迪米特法则——如何洗劫人们钱包!

    youdao

  • Lastly, the closure structure more closely follows the Law of Demeter since your object would, theoretically, be "reaching through" via the prototype chain.

    最后闭合结构接近于得墨忒耳对象从理论上讲通过通过原型

    youdao

  • Using the motto Talk only to immediate friends, the Law of Demeter states that we should avoid invoking methods of an object that was returned by another object's method.

    迪米特法则使用直接朋友对话句格言指出我们应当避免调用一个对象方法返回对象上方法

    youdao

  • Using the motto Talk only to immediate friends, the Law of Demeter states that we should avoid invoking methods of an object that was returned by another object's method.

    迪米特法则使用直接朋友对话句格言指出我们应当避免调用一个对象方法返回对象上方法

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定