If you want to work not only in the code but also want documentation, use this mode.
如果您不只想处理代码,但是又想文档化,那么就使用这种模式。
Only US firefighters and repairmen can use the buttons to speed up the door-closing process if they have a code or special keys.
只有美国消防员和维修人员有密码或者特殊的钥匙时,他们才能按按钮加速关门的过程。
If you want to work only in the code but also want documentation, use this mode.
如果您只想处理代码,但是又想文档化,那么就使用这种模式。
Instead of only running code in your callback if the ready state is 4, just output the ready state every time that your callback is called.
如果就绪状态为4,我们不仅要运行回调函数中的代码,而且还要在每次调用回调函数时都输出就绪状态。
If I mis-design a function in my own code, the only person affected is me, because I am the only caller of the function.
如果我在自己的代码中错误地设计了一个函数,那么影响到的人就只有我自己而已,因为我是这个函数的唯一调用者。
That is, if the application code itself is inefficient, then changing to an alternative application server will likely only offer marginal (if any) gain.
就是说,如果应用程序代码本身是低效的,那么迁移到替代应用服务器将很可能只会贡献边际收益(如果有的话)。
A library of special tools is only of value if it eases the programmer's burden, reducing and clarifying the code required to get a job done.
只有能够减轻程序员的负担,减少完成某项工作所需的代码并使之更清晰,特殊工具库才有价值。
You need to know how the Document Object Model (DOM) works only if you wish to change the code in this tutorial to suit your own applications.
只有当希望修改本教程中的代码以适应具体应用程序时才需要了解文档对象模型(DOM)的工作原理。
Clearly, it would be better if you could only run a small number of tests and still find the same defects in the code.
无疑地,如果您只运行少量的测试,并且仍旧在代码中找到一样的缺陷,这是更好的。
A NOT FENCED stored procedure is recommended only if you consider the code safe to execute.
只有在您认为代码能够安全执行的情况下,才应该使用NOT FENCED存储过程。
So the code is "clean and green," according to my simple unit test case — but that's meaningful only if I'm really testing the code thoroughly.
根据前面简单的单元测试用例,这块代码是“干净,绿色”的——但只有在我真正彻底地测试这块代码的情况下这才有意义。
As you can see from the output of the command, it only returns an error if it gets a status code that doesn't match what is expected.
从命令的输出可以看到,如果获得的状态代码与预期的代码不匹配,将返回一个错误。
The only other step is to contact (by phone, or E-mail, or in some cases, paper documentation) the developers who use your code if you don't build a customer-facing component.
如果没有创建一个面向用户的组件,下一步是联系(通过电话或电子邮件、或是书面文档)使用您的代码的开发人员。
Test above allows the test case code to run only if this file is run as a command.
测试使得只有当文件作为命令运行时才运行测试用例代码。
What if you only wrote enough code to get the test to pass, and no more?
如果您只编写足够通过测试的代码,而不写多余的代码会怎样?
It's smart about how it does this: If the same added code is needed by more than one binding, the binding compiler only generates the code once.
编译器执行该工作的方式是智能化的:如果多个绑定需要同一个添加代码,那么绑定编译器只要生成代码一次。
Any decoupling approach has at least one disadvantage: What if the client code needs specific functionality provided by only one of the implementations?
任何去耦方法都至少有一个缺点:如果客户机代码仅需要一个实现所提供的特定功能,怎么办?
Not a problem if the client code is the only thing happening on the system – but it quickly leads to trouble when the system is dealing with thousands of separate client requests a minute.
如果系统中只有客户端代码运行,这不是个问题——但是当系统在一分钟内处理成千上万条单个客户端的请求时,麻烦很快就来了。
Code can, and often should, be rewritten and refactored again and again, but systems only work if they agree on the data.
代码可以,经常也应该,被一次又一次的重写,重构,但是只有合适的数据才能使系统运转。
If you are interested in only specific plug-ins, you can also modify the source code to suit your requirements.
如果您只对某个具体的插件感兴趣,也可以对这段代码进行修改来满足您的要求。
Even if this were the only benefit of using patterns we'd still have more reliable code.
即使这是使用模式所带来的唯一好处,我们仍然会有很多可用的代码。
Not-built format states that the actual code from the source host does not reside in the package this will only happen if the package is built inside the software package editor.
不可构建格式是指来自源主机的实际代码并不存在于包中。这种情况只可能发生在包是在软件包编辑器中构建的情况下。
The use of aliases is my preferred method for using namespaces for two reasons: First, if I later rename the namespace, I only have one line of code to change per source file.
由于两个原因,我喜欢对名称空间使用别名:首先,如果以后要改变名称空间,在每个源代码文件中只有一行需要修改。
That means the code shown here runs successfully only if the current caller is a site administrator.
所以,上面展示的代码只有在当前用户是站点管理员时才能成功运行。
Not all tests need to be run at all times, particularly if you are making changes in the code that affect only specific modules.
并不需要每次都运行所有测试,尤其是在修改的代码只影响某几个模块的情况下。
This is warranted only if your code demands immediate use of the extensions.
这只有在代码要求立即使用扩展时才得到保证。
If your only objective is to show the table, then you're done, because the rest of the code handles sorting.
如果您的目标只是显示表格,那就可以了,因为余下的代码可以完成分类。
This restriction was true even if the XML data included only ASCII code points.
即使XML数据中只包含ASCII代码点,这个限制也仍然有效。
If the system were well-designed and constructed, the code might require changes in only a few places.
如果系统被很好的设计与构建,代码只需要在很少的位置做修改。
If the system were well-designed and constructed, the code might require changes in only a few places.
如果系统被很好的设计与构建,代码只需要在很少的位置做修改。
应用推荐