抽象代码
- 与 抽象代码 相关的网络例句 [注:此内容来源于网络,仅供参考]
-
When you have an abstract class, you can add a new method and provide a default implementation in it.
当存在个抽象类时,你可以在其中添加新方法并在代码中为其添加默认实现。
-
As a general rule, if our code base is abstract it should be abstract all the way.
作为一般原则,如果基础代码是抽象的,那么它应该一直是抽象的。
-
The sales tax rate is a detail I abstract out of the code and store externally.
销售税率是一种细节,我要把它从代码中抽象出来存放到外部。
-
An Automatic Refactoring Method of Cloned Code Using Abstract Syntax Tree and Static Analysis.
使用抽象语法树和静态分析的克隆代码自动重构方法。
-
The main idea of this optimization is to strip the vtable initialization code from abstract class for abstract class the vtable is empty, while it is initialized in contructor
这一优化的主要思想是,以剥夺从抽象类的虚函数表的初始化代码(抽象类中的虚函数表是空的,而它在构造器初始化
-
Instead of embedding cross-cutting code in classes, AOP allows you to abstract the cross-cutting code into a separate module and then apply the code dynamically where it is needed.
AOP让你将横切代码抽象进入另外的模块,来替代将横切代码嵌入类,然后动态地在需要它的地方应用这些代码。
-
Maintenance can be a nightmare if we have concrete implementations for interfacing with some code and abstract classes and interfaces for other parts of the code (how would we then keep track of which is which and manage change?).
如果我们一部分代码用于实现具体界面,而另一部分代码是抽象类以及接口(那我们将如何跟踪哪一个是哪一个,以及管理变化),维护将会成为一场恶梦。
-
Name unmarshalling method call unmarshalling context method to push instance on stack unmarshal "firstName" field value from "first-name" element unmarshal "lastName" field value from "last-name" element call unmarshalling context method to pop instance from stack
JiBX 通常将解编排的代码变成虚方法添加到类中,添加的虚方法的名称以"JiBX"开头。在清单 4 中,我列出了 Customer 解编排方法的一部分抽象操作序列和 Name 解编排方法的完整抽象操作序列。
-
Dave Thomas: Yes, once you adopt a discipline of separating the abstraction and the data that abstraction is working on, your code starts being structured in a far tidier way. Your code tends to be decoupled and orthogonal.
戴夫·托马斯:是的,一旦你采用了这种方法,将数据和作用于其上的抽象分离,你的代码就会开始变得更加有条理、结构更好,你的代码的耦合程度会更低,更具正交性。
-
But it is easily noticed that certain activities, such as the maintainance and reengineering of the software, the modernization of the code written before, remain problems unsolved in this field. The solution of these problems largely depends on the programm-intepretaion, namely, to reconstruct the demain model and to document with new characteristics through the analyzation (black- or white-box, static or dynamic) of the old code by using advanced tools.
但我们也能很容易的发现软件维护、遗留代码的现代化改造以及软件的再工程问题等都是软件界普遍关注的话题,以上这些问题的有效解决很大程度上依赖于程序理解,即利用现代化分析工具或者转化系统对遗留代码进行白盒/黑盒、动态或者是静态分析,提取信息,获取抽象描述,从而达到重构具有现代意识的各类文档和领域模型。
- 推荐网络例句
-
As she looked at Warrington's manly face, and dark, melancholy eyes, she had settled in her mind that he must have been the victim of an unhappy attachment.
每逢看到沃林顿那刚毅的脸,那乌黑、忧郁的眼睛,她便会相信,他一定作过不幸的爱情的受害者。
-
Maybe they'll disappear into a pothole.
也许他们将在壶穴里消失
-
But because of its youthful corporate culture—most people are hustled out of the door in their mid-40s—it had no one to send.
但是因为该公司年轻的企业文化——大多数员工在40来岁的时候都被请出公司——一时间没有好的人选。