Closures can integrate just as well with object-oriented code, as well as with procedural code.
闭包可以很好地与面向对象的代码以及面向过程的代码整合。
To reuse object-oriented code, you extract the target code into another class, then use inheritance to access it.
要重用面向对象的代码,您要将目标代码提取(extract)到另一个类中,然后再用继承来访问它。
Objects and closures get along very well, as we saw by the special handling of closures within object-oriented code.
对象与闭包可以很好地结合使用,比如我们在面向对象的代码内对闭包的特殊处理。
Writing aspects to be testable yields design benefits parallel to those achieved by factoring object-oriented code for testability.
将方面编写为可测试的,得到的设计好处与通过重构面向对象的代码来实现可测试性所得到的好处相似。
If you spend much time with Jena, you'll begin to realize that a gap exists between what's considered to be normal object-oriented code and your client code that interacts with the Jena API.
如果花大量时间研究Jena,您将会认识到普通的面向对象代码和与Jena API交互的客户端代码之间存在差异。
The logic used to design a set of constraints to create specific behaviors is very different from the logic used to write procedural or object-oriented code.
通过设计一系列约束来创建特定行为的逻辑跟写程序或面向对象的代码所使用的逻辑是很不一样的。
The function mode storehouse, shell storehouse and scheme storehouse are founded to express and store the knowledge by the Object-Oriented code rule during the construction of systemic repository.
在系统的知识库构建上,采用面向对象的编码规则对知识进行表示和存储,建立了功能模式库、壳体库和方案库。
The function mode storehouse, shell storehouse and scheme storehouse are founded to express and store the knowledge by the Object-Oriented code rule during the construction of systemic repository.
在系统的知识库构建上,采用面向对象的编码规则对知识进行表示和存储,建立了功能模式库、壳体库和方案库。
应用推荐