So you might have code like this (see Listing 1).
因此您可能拥有下面这样的代码(参见清单1)。
Ok, we have code written according to the design document, now what?
好吧,我已经按照设计说明文档,编写了代码,现在做点什么呢?
To talk about different programming styles, you must have code for comparison.
当谈到不同编程风格时,必须有可供对比的代码。
In this way, you can have code on three machines running against multiple threads.
通过这种方式,您可以让代码在三台机器上针对多个线程运行。
I expect them to have 100% coverage in all of their application code.
我希望在他们所有的应用程序代码中有100%的覆盖率。
If you absolutely have to touch the code, expect it to be a nightmare.
如果您一定要修改代码,那么这将是一场噩梦。
We have not yet implemented this in the code.
我们在代码中尚未实现此功能。
You would probably have less code, and it would all be used.
可能您拥有的代码会更少,并且它们都会被派上用场。
Not that these men lack principles. They have their code, and a very special one.
并非因为这些人无规无矩,他们有他们的法典,一部颇为特别的法典。
Now you have the code shown in listing 14.
现在您拥有了如清单14所示的代码。
Obviously, you must have some code whose execution time you want to benchmark.
显然,必须有一些代码,希望对其执行时间进行基准测试。
You already have server code there.
在此已经有了服务器代码。
So now we have diverging code.
现在我们就有了分叉代码。
If you have existing code that is non-modular, it can be difficult to modularize it.
你要是有非模块化的代码,就很难对它们进行模块化。
It's better to have most code tested by something than not tested at all.
使用一些测试来测试大部分代码比根本不进行测试要好。
The sample code I have provided makes a direct connection to DB2.
我提供的示例代码建立一个到DB2 的直接连接。
The first product to have a bar code was Wrigleys gum.
世界上最早有条形码标记的商品是箭牌香口胶。
You write less code, so you have to read less code for maintenance or extension.
编写的代码越少,维护和扩展代码时工作量就越少。
Multiple people have to actually review the code.
必须多人真正地评审代码。
Battle No. 2: Companies have a code in place but don't enforce it.
战斗2:公司有现成的规定,但是却没有执行。
For the purpose of this article, we have simplified the code.
对本文来说,我们简化了代码。
Now that you have the code, building the extension is typical.
有了这些代码后,就可以开始构建扩展了。
Now that you have the code working, you can view your index.html page in a browser.
现在,您的代码已经可以正常运行了,您可以在浏览器中查看您的index . html页。
You will have to change the code in every page.
您将不得不更改每个页面内的代码。
At this point, the code should have no errors.
这时,代码应该还没有任何错误。
You now have all the code you need.
现在您已具备所需的所有代码。
Also, you write less, so you have less code to maintain.
此外,所需编写的代码更少,因此您需要维护的代码也更少。
Somebody must have changed my code.
一定有人改了我的代码。
Somebody must have changed my code.
一定有人改了我的代码。
应用推荐