我发现,从具体的实例入手然后再把它重构成一个抽象的例子是非常容易的;反之,如果从抽象的例子入手而把它应用到具体的案例中,则要困难 得多。
I found it much easier to do the concrete example first, then refactor that to the abstract example, than to come up with the abstract example first and then apply that to the concrete case.
另一个能证明重构多么智能的例子是:创建一个接口,它声明了一个抽象方法。
Another example how intelligent a refactoring should be: Create an interface which declares an abstract method.
这些可能听起来很抽象,那么让我们看一个实际的例子。
This may sound abstract, so let's have a look at an actual example.
最还有没有其它的例子,来反映这种类似的抽象想法:感觉到被排斥,身体也会有表现?
LEHRER: What are some other examples of how seemingly abstract thoughts, such as feeling excluded, can have physical manifestations?
我父亲允许我以抽象的方式和例子提出问题。
My father allowed me to present my problem in its abstract form and with my examples.
清单7是一个抽象范式的例子,其中包含XML表格结构中的一些典型的约束。
Listing 7 is an example of an abstract pattern with some sample constraints on the general idea of an XML table structure.
抽象注释类型的更多例子。
在这个例子中,我们没有在被注入者中定义一个实例变量,而是定义了一个返回所需对象的抽象方法。
In this case we do not define an instance variable in the injectee, but an abstract method returning the required object. The method may be public or protected
在某种程度上, Quantification抽象类是个特殊的例子。
The Quantification abstract class is a special case, in a way.
在这个例子里,Shape声明了一个抽象的draw(绘制)方法。
不要只是抽象地考虑这个问题,让我们集中到一个特殊的例子上去。
Instead of just considering this question in the abstract, let's focus in on one particular example.
他应该会以抽象的方法探讨我提出的问题,而不会像我的朋友们那样陷入我举出的不恰当的例子里面去的。
He should be well positioned to explore my problem in the abstract and, unlike my friends, to avoid getting trapped in the inadequacies of my examples.
正如前面阐释的UML的例子一样,这种方法会强迫你将清晰的领域特定概念硬塞进预先构建的抽象中。
Just like in the case of UML explained above, this approach forces you to shoehorn clear domain specific concepts into prebuilt abstractions.
邮政地址是聚合组件的一个例子,它是一致的抽象概念,包括几个原子组件,如省份和邮政编码。
An example of an aggregate component is a postal address, which makes up a coherent, abstract concept; it is composed of several atomic components such as province and postal code.
这是因为GWT对宿主环境底层的正则表达式机制的依赖也是不完美抽象所带来问题的一个例子。
This is because of GWT's reliance on the host environment's underlying regexp mechanism and is an example of the trouble that imperfect abstractions can land you in.
这个定义有点儿抽象,我们来举一个具体的例子。
That's kind of abstract, so let's take a concrete example recently reported in the Financial Times.
Linux文件系统体系结构是一个对复杂系统进行抽象化的有趣例子。
The Linux file system architecture is an interesting example of abstracting complexity.
示范和实用的例子对ISTP来说比理论、讨论或阅读更有用,因为他们倾向于怀疑交谈和抽象的思考。
Demonstrations and practical examples are of more use to ISTPs than theory, discussion or reading, since they tend to mistrust talk and abstract thinking.
之前我们了解的上下文对象context就是一个统一的POSIX的例子,就像是被称作NetKernel基础API的微核的抽象。
The context object we saw earlier is an example of a uniform POSIX like abstraction around the microkernel called the NetKernel Foundation API.
文章将通过对比手法,具体例子跟抽象理论等来加以论证,并且这些理论大部分取材于鲁道夫·阿恩海姆的《视觉思维》。
Not only comparison, but also concrete examples and most abstract theories from Rudolf Arnheim's Visual Thinking will be employed for reasoning.
他抽象性地描述了他的想法,没有任何图示的例子。
He described his idea abstractly, without any illustrative examples.
使工作流的逻辑集中到抽象类是控制反转的例子。
The centralization of workflow logic into the abstract superclass is an example of inversion of control.
要是讲的内容比较抽象,千万不要上来就讲,一定要通过形象有趣的例子来解释。
Don't teach those abstract contents at the very beginning. It would be better if you explain it by interesting and visual examples.
它大概是抽象表现主义形式的第一个例子。
Perhaps it was the first example of a form of abstract expressionism.
好的例子不仅有助于作者避免泛泛而谈,还能使抽象的问题具体化,从而清楚地表达思想。
Good examples help to clarify a writer's thought by making the general specific, and the abstract concrete.
李代数的抽象理论中很多重要的概念都来源于经典群论,完备李代数便是一个例子。
Many of important concepts in the theory of abstract Lie algebras come from classical theory of groups, for example, complete Lie algebras is a generalization of complete groups.
他的作品“黎明”就是一个很好的关于抽象艺术-表现主义的例子。
Bazaine's "Dawn" is a good example of what is sometimes called abstract-expressionism.
他的作品“黎明”就是一个很好的关于抽象艺术-表现主义的例子。
Bazaine's "Dawn" is a good example of what is sometimes called abstract-expressionism.
应用推荐