“告知,不要问”被认为是一个很好的面向对象设计原则。
"Tell, don't ask" is considered a good principle of object-oriented design.
在这本书中,UncleBob给我们介绍了这两个概念,并且带我们了解面向对象设计原则,以及如何在敏捷项目中使用它们。
In this book Uncle Bob brings together the two and gives a developer a tour DE force of object-oriented design principles and an insight on how to use them on an Agile project.
这两个职责分配原则在完成良好的面向对象设计的方面扮演了主要角色:高内聚和低耦合。
Two responsibility assignment principles play a major role in achieving good object-oriented design: high cohesion and low coupling.
11该方法大大提高了软件的可适应性,现在已经成为广为接受的面向对象分析和设计理论的原则。
The approach promised to dramatically improve the adaptability of software and is now an accepted principle in object-oriented analysis and design theory.
设计原则:验证你的代码是否坚持面向对象编程的设计原则。
Design principles: Validates that your code adheres to the design principles of object-oriented programming.
设计接口是一个面向对象的极好实践,但是我们没办法总能得到遵循此种设计原则遗留代码。
Programming to interfaces is a good oo practice, but we are not always presented with legacy code that follows the practice.
对此问题,目前还没有好的解决方法,但是要看到,这两个原则的目的是一致的,那就是设计出好的面向对象的产品。
I don't have a perfect answer for resolving it, but I think there's a parallel here to good object-oriented design.
通过面向对象的编程和接口设计原则,您只需使用新的ContactJdoDAO替代原始的ContactDAOMock。
Due to the wonders of object-oriented programming and the principles of design by interface, you can simply replace your original ContactDAOMock with the new ContactJdoDAO.
设计原则(5):用于面向对象编程的设计原则的规则。
Design principles (5) : Rules for design principles of object-oriented programming.
Design Principles(设计原则):包括面向对象(OO)编程设计原则的规则。
Design principles: contains rules for design principles of object-oriented (OO) programming.
模型设计采用面向对象的模块化原则,并基于CORBA标准的面向对象开发平台,将相关可编程设备的物理单元抽象为对象。
The object - oriented principles and the standard CORBA development platform are applicated in the design for control model , each physical cluster of related machinery is represented as an object .
首先,介绍面向对象的一些设计原则。
Firstly, some useful design rules on object-oriented design (OOD) are introduced.
首先,介绍面向对象的一些设计原则。
Firstly, some useful design rules on object-oriented design (OOD) are introduced.
应用推荐