课堂上的“成功”需要学生掌握这个抽象的代码。
"Success" in the classroom requires a student to master this abstract code.
下一种级别的约定包括直接执行引擎、源文件的抽象,以及编译后的代码。
The next level of engagement involves operating directly with engines and abstractions of source code and compiled code.
由于它抽象的层次更高,所以通常模式比代码更易于重用。
Due to its higher level of abstraction, patterns are often more reusable than code.
不行,这会损害代码的可读性和抽象层。
Not without harming the code's readability and abstraction level.
还可以根据需要相对较快地改变技术,因为重要的设计信息是一个抽象模型,没有嵌入到代码中。
And you can change technologies reasonably quickly as needed because the important design information is in an abstract model, not embedded in the code.
调试器让开发人员在应用程序部署之前使用真实数据单步调试抽象程序代码。
The debugger allows developers to step through the abstract program code using real data before the application is deployed.
实现是抽象的代码级别。
在这种情况下,您仅需修改抽象类,代码将完成编译。
In this case, you can modify just the abstract class and the code will compile.
但是,一般来说,最好不要在同一个应用程序中把XML响应和纯文本响应混合使用;保持单一数据格式可以让代码抽象和重用更加简单。
Generally, though, it's best not to mix and match XML responses and plain-text responses in the same application; sticking to a single data format makes code abstraction and reuse simpler.
但强迫公用api适应工厂对象或抽象工厂(只因为测试代码要求它这样)是错误的设计。
But forcing the public API to accommodate factory objects or abstract factories, just because the test code wants it to, is the wrong design.
引起问题的另一个原因就是那些模型经常首先使用类元素(例如:联合和抽象),在代码中它们仅仅是通过名称被引用。
Another cause of problems is that models often use first class elements (for example, associations and abstractions) for what in code would be just simple references by name.
所提供的类是抽象的,因此客户实际上必须编写代码。
The provided classes are abstract, so clients must actually write code.
就你的设计而言,你希望能提出一些关键的抽象,然后其他的代码只要负责和这些抽象,而非具体实现进行互相作用。
For your design you want to come up with key abstractions, and then you want to have your other code just interact with those abstractions, not with the specific implementations.
为此,在本文与此后的文章,我将通过重构以及随之而来的抽象影响来处理代码重用问题。
For this and the next installment, I tackle code reuse via refactoring and the attendant abstraction impact.
它们对代码有比较好的控制并抽象开底层技术。
They keep a better control of code and abstract away the underlying technologies.
为这些组件创建包装外观,会隐藏遗留组件间复杂的交互细节,并提供了一个抽象,使新旧代码不致混淆。
The creation of wrapper-facades for these components hid the details of complex interactions between the legacy components, and also provided an abstraction that protected new code from legacy code.
在与本文相关的解决方案中,您将看到每个操作的公共代码都被移到了抽象超类中。
In the solution associated with this article, you'll see that the common code for each of the actions has been moved to an abstract superclass.
仍然可以验证建议和抽象方面所指定的ITD代码。
You can still verify the advice and ITD code specified by the abstract aspect.
如果必须在抽象层之间转移,阅读代码会很困难,这正是SLAP原则试图避免的情况。
It is difficult to read the code when you have to jump mentally between abstraction levels, which is what the SLAP principle tries to avoid.
它描述了SOA的实现,是对实现(包括代码)的抽象。
It describes the realization of the SOA and ACTS as an abstraction of the implementation (including code).
如果带着发现抽象和模式的期望去看代码库,就更容易有所发现。
If you look at a code base with the expectation that you'll find abstractions and patterns, they get easier to see.
很多系统的设计会走向极端:缺乏抽象的冗长的代码,或是充斥着复杂的从不使用的代码。
Lots of systems suffer from the extremes: clumped, lengthy code with little abstractions, or an overly designed system with unnecessary complexity and unused code.
录制器采用中间格式录制代码,类似于抽象语法树。
The recorder records code in an intermediate format, similar to an Abstract Syntax Tree.
因此,不必担心SQL或任何特殊数据库,因为代码可以按照抽象关系模式来表示。
From this point on, you don't have to worry about SQL or any particular database because your code can be expressed in terms of the abstract relational schema.
如果这有点抽象,请不要担心:代码示例会很快解释清楚的。
Don't worry if this seems a bit abstract at this point: code examples will make it all clearer shortly.
查看该代码的面向对象版本,可以看到代码变得更加抽象。
In looking at the object-oriented version of the code, you can see that the code becomes more abstract.
这要求具有某种形式的抽象思维(而不再是代码的细节),这种思维能力可能较难形成。
This requires a form of abstract thinking (beyond the bits and bytes of code) that can be difficult to master.
位于抽象模型和代码模板之间的中间模型使用XML模式,生成PHP 和SQL 的代码模板则使用文本模式。
XML mode is used for the temporary models that sit between the abstract model and the code templates. Text mode is used in the code templates when you generate the PHP and the SQL.
通过使用抽象缓冲区,代码可简化为。
通过使用抽象缓冲区,代码可简化为。
应用推荐