Bad habit: Not using class hierarchies.
坏习惯:不使用类层次结构。
Expose interfaces on class hierarchies.
在类层次中暴露接口。
Here is the screen shot of my Class hierarchies.
这是我的类层次结构的屏幕截图。
I try to avoid making class hierarchies as they rarely pay off.
我尽量避免类层次为他们很少还清。
For class hierarchies, there shouldn't be more than two or three total levels.
对于类的层级,总体不应超过2到3个层级。
R's approach to OOP is based on generic functions rather than on class hierarchies.
R的OOP 方式基于泛型函数(generic function),而不是基于类层次结构。
CDT makes it easier than ever to create these classes and class hierarchies, and to run and debug the application to test it.
CDT使您可以比以往更轻松地创建这些类和类层次结构,以及更轻松地运行和调试应用程序进行测试。
To solve problems, OOP developers design class hierarchies, focus on proper encapsulation, and think in terms of class contracts.
为了解决问题,OOP开发人员需要设计类层次结构,注意进行恰当的包装并按照类约定进行思考。
Bourdieu noted that there is always a same type connection between the taste levels and the social class hierarchies which maintained by the power society.
布迪厄指出,个人的趣味等级与权力社会所维护的阶级等级之间往往存在着同型的关系。
Some people are going to run with those scraps of OO knowledge and build crazy class hierarchies and end up not as focused on on what they should be learning.
因为有些人没事时就喜欢玩能一些面向对象的知识技术,做一些可怕的类继承,最终没有学到他们该学的东西。
The presented concept of using business domain-driven class hierarchies can simplify Domino application development because of the higher amount of reused code.
因为更多地重用代码,所以本文中介绍的使用业务域驱动的类层次结构的概念可以简化Domino应用程序的开发。
Wherever you're tempted to copy code from one class to the next, stop and consider how you can use class hierarchies to leverage similar or identical functionality.
无论何时,如果想将代码从一个类复制到下一个类中,请停下来并考虑如何使用类层次结构利用类似功能或相同功能。
We'll learn one technique that helps when we discuss sealed class hierarchies in the section called "sealed class hierarchies" in Chapter 7, the Scala Object System.
我们会在《第7章-Scala对象系统》的“完成类(sealedclass)结构”讨论完成类的结构时学习到其中一种技术。
Complex type definitions support derivation by extension and restriction, allowing you to define complex type hierarchies in a way that maps nicely to 00 class hierarchies.
复杂类型定义支持通过扩展和限制进行派生,这就允许以一种映射到面向对象类层次结构的方式定义复杂类型层次结构。
While the process of creating an agent is somewhat complex, the data capture component provides a set of lightweight class hierarchies that greatly simplify the implementation.
虽然创建代理的流程有一点复杂,但是数据捕捉组件提供了一组轻量级的类结构,可以极大地简化实现。
I fear the the new object-oriented systems may suffer the fate of LISP, in that they can do many things, but the complexity of the class hierarchies may cause them to collapse under their own weight.
我担心新的面向对象系统会遭到LISP相似的命运。
Consistent formatting, intuitive debugging, built-in CVS and JUnit support, class and package summaries and hierarchies, and GUIs for them all, make Eclipse a very friendly helper.
一致的格式、直观的调试、内嵌的CVS和JUnit支持、类和包的一览和层次,以及用于它们所有的图形用户界面,使Eclipse成为非常友好的助手。
We can, of course, create our own types in Python by means of the class statement and arrange our types in whatever hierarchies we like.
当然,在Python 中我们可以通过class语句来创建自己的类型,并在喜欢的层次中安插自己的类型。
Classes of objects can also be further grouped into hierarchies, in which objects of one class can inherit methods from another class.
对象的类也可更进一步组合成层,而在层中一个类的对象可继承另一个类的方法。
Object-oriented should find pertinent objects, factor them into classes at the right granularity, define class interfaces and inheritance hierarchies, and establish key relationships among them.
面向对象要求找到相关的对象,以适当的粒度将它们归类,再定义类的接口和继承层次,建立对象之间的基本关系。
Object-oriented should find pertinent objects, factor them into classes at the right granularity, define class interfaces and inheritance hierarchies, and establish key relationships among them.
面向对象要求找到相关的对象,以适当的粒度将它们归类,再定义类的接口和继承层次,建立对象之间的基本关系。
应用推荐