我们在代码中尚未实现此功能。
如果我们拥有的代码在执行中使用一个具体的类该怎么办?
What if the code we have uses a concrete class in its implementation?
在以下代码中,我们创建三个字段编辑器。
如果我们在“控制”模式,那么控制代码将被执行(3)。
If we are in "control" mode, then control code is executed (3).
在我们签入我们代码的同时,软件仓库会自动构建所有的应用程序,然后对它们运行单元测试。
As soon as we checked in our code, the repository would automatically build all of the applications and run the unit tests against them.
使用渐进增强,我们在可用代码的基础上构建站点。
With progressive enhancement, we build sites on a foundation of usable code.
我们的代码在本书所附带光盘中的解决方案文件夹中。
Our code is in the solutions folder on the CD included with this book.
这一步很重要,因为在示例代码中我们将创建拥有该组件的新内容。
This step is very important because in our sample code, we will create new content that has this HTML component.
在实际开始编写产品代码之前,我们需要编写单元测试。
Before writing any production code, we'd write our unit tests.
遗憾的是,彻底放弃私有继承和多重继承会使我们在代码重用方面付出昂贵的代价。
Unfortunately, tossing out private and multiple inheritance has cost us dearly in terms of code reuse.
有时我们通过在写任何代码之前进行学习来执行工具的评估。
Sometimes we'd perform tool evaluations through studies before writing any code.
也许内核开发社区也应该重新评估,我们在代码质量和市场成功两者之间到底如何权衡取舍。他问道,我们是否需要一套更面向商业的制度?
Maybe the community needs to reevaluate how it weighs code quality against market success; do we, he asked, need a more commercially-oriented metric?
通用语言——我们在代码中有一个很美妙的音乐隐喻.....
ubiquitous language -- we have a wonderful music metaphor in our code and...
在JDK代码库中,我们的分析显示。
在代码中,我们反转了数组来设置 $wheel2。
请注意,我们在代码中使用了如下XDIME元素。
Note that we've used the following XDIME elements in the code.
我们在代码库中采用一种@public、@semipublic和@private的标准规范。
We have adopted a standard in the code base of @public, @semipublic and @private specs.
注意,jQuery代码是在我们的controller上调用JSON方法。
Notice this jQuery code is calling a JSON method at the location of our controller.
在本文中,我们使用简单的代码来表达这种策略的要点。
In this article, we kept this simple to convey the gist of the strategy.
我们甚至在试验代码中用了四年之后还很少在生产代码中使用它们。
We have rarely used them for production code, even after four years of usage in experimental code.
我们在调试代码中构建了一些死锁检测逻辑——例如,检测和报告分层违规的逻辑。
As part of our debug code, we built in some deadlock detection logic — for example, logic that detects and reports layering violations.
这允许我们在崩溃或代码更新之后,远程地(重新)启动显示服务器。
This allowed us to remotely (re) start the display servers after a crash or code update.
但是会说的不如会做的,还是让我们在代码中看看它的实际效果!
模式和代码互相协调,我们仍然关注在代码上……我们说:我们正在用不同的方式做事。
Patterns and code go together, and we were still focusing on the code... we said: we are doing things differently.
在清理代码的时候,我们为之付出的努力只有在将来才能受益。
When we clean up the code, the cleanup we make will only pay off at some future time.
我们大约需要编写50行代码来真正执行我们在模拟对象类中所需的行为。
We had to write approximately 50 lines of code that actually implemented the behavior we needed in our mock object classes.
我们可以在代码中的其他位置定义回调函数,因此我们知道它可用。
We could define the callback function somewhere else in the code so we know it's available.
在第二行代码中,我们创建一个数组来储存变更的值。
In the second line, we create the array to store the changed values.
所以我们植入了一些错误校验,如果你愿意,在我们的执行代码里。
So we've embedded some error checking, if you will, into our implementations.
在查看代码之前,我们先介绍基础的场景,我们在该场景中扮演一个调查中心,负责研究公众喜欢的图书、电影、歌曲和站点的品味。
Before looking at the code, let us introduce our basic scenario, in which we, as an example, are a survey center, specializing in public tastes of favorite books, movies, songs, and sites.
应用推荐