go top

law of demeter 添加释义

网络释义英英释义

  得墨忒耳定律

以上是文档“得墨忒耳定律(Law of Demeter)”的部分内容摘录

基于2300个网页-相关网页

  迪米特法则

我的理解是,对于不同层次的编程,高层次暴露给低层次的应当只是接口,而不是它的具体类 LoD (迪米特法则Law of Demeter):只与你直接的朋友通信,而避免和陌生人通信。

基于677个网页-相关网页

  迪米特法例

...微 原则(十二)LOD(迪米特法例) 2012年2月1日 联系商易上海电子商务网站建设,了解更多 LOD(Law of Demeter迪米特法例) 又称起码常识原则(Least Knowledge Principle,LKP) 一个对象该当对...

基于20个网页-相关网页

  最少知识原则

...子系统中的一组接口提供了统一的外观界面(Facade),从而减少客户端与子系统之间的耦合,遵循了“最少知识原则”(Law of Demeter)的“Only talk to your friends”,因此我们再也不用担心要阅读子系统复杂的API手册了。

基于16个网页-相关网页

短语

Law of Demeter LoD 迪米特法则 ; 七

LoD The Law of Demeter 迪米特法则

The Law of Demeter 迪米特法则

LoD - Law of Demeter 迪米特法则

LOD Law Of Demeter 迪米特法则

 更多收起网络短语

Law of Demeter

  • abstract: The Law of Demeter (LoD) or principle of least knowledge is a design guideline for developing software, particularly object-oriented programs. In its general form, the LoD is a specific case of loose coupling.

以上来源于: WordNet

双语例句

  • 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

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

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

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