如果您熟悉web开发,您一定知道分隔功能代码的好处。
If you're familiar with web development, you know the benefits of separating functional code.
如果没有完成测试程序,开发人员就不能写功能代码。
The developers write unit tests to test individual classes and subsystems.
因此,本文提出了一种自动生成包括报表显示和输入功能代码的方法。
Therefore, a method of code automation includes report display and input function has been bringing forward in this paper.
被称为“集成环境”,是因为签入功能代码会与其他功能代码完全集成。
It is called the integration environment because it is where the feature should be fully integrated with all other features.
如果你有类似的代码,只需要把功能代码交换一下位置,然后使用if吧。
If you have code like this, just swap the code doing the work and use if.
在程序设计时,我们也主要参照这个算法的思想来完成各个功能代码的编写。
In programming, we also refer to the main idea of the algorithm to complete the preparation of various functional code.
接着,功能级别的提供程序会读取来自配置文件的类型,并充当功能代码工厂。
The feature-level provider then reads in the type from the configuration file and ACTS as a factory to the feature code.
电话机上的自动拨号按钮提供用于外部号码、内部通信号码或功能代码的一次拨号。
An Autodial button on a phone provides one-touch dialing of outside Numbers, intercom Numbers, or feature codes.
这种方法是纠缠的代码的一个活生生的例子:它混合了业务逻辑代码与断言所需的非功能代码。
This approach is a vivid example of tangled code: it mixes business-logic code with the nonfunctional code that assertions require.
API函数拦截是指通过特定的方法中断API函数的调用,转而执行用户的功能代码的一种行为。
Intercepting API calls means a way of alter the original API execution to the code supplied by the user.
介绍了SQL注入攻击原理,SQL注入攻击的过程,并从功能代码本身方面详细介绍了SQL注入攻击的防范措施。
In this article, the author explains the principle and process of SQL Injection Attack, and introduces a serial interrelated solution to prevent SQL Injection Attack from the aspect of code in detail.
很有可能的是,七页长的核心功能代码也许看起来就像是教科书上关于“不要这么做”的示例,而这些代码居然还神奇的可以运行。
Chances are, seven pages' worth of core functionality looks like the "don't do this" example of a programming textbook, but it magically works.
你可以使用Cucumber和IronRuby来为。NET代码编写可执行规范,但是使用与功能代码相同的语言来编写测试会得到更多的好处。
While you can use Cucumber with IronRuby to write executable specifications for. Net code, there are immediate benefits to writing test automation code in the same language as your production code.
原因有三,第一个原因,是出于质量控制考虑:严格说来,彩蛋是一段未经测试的程序,理论上来讲,它可能会对整个程序中其他重要的功能代码产生影响。
Part of the reason was quality control: by definition, an Easter egg is an untested feature. It's a loose cannon that could, in theory, interfere with other, more important parts of the program.
本文的焦点在于全球化,因此,本文不会讨论实现其他功能的代码。
The focus of this article is globalization, so it will not discuss the code for other functions.
额外的安全性需求是与应用程序相关的云特征的一种分支,因此它可以在不影响其余功能和代码的前提下实现。
The additional security needs are an offshoot of application-specific cloud characteristics, therefore this can be implemented without impacting the rest of the functionality and code.
这种通过功能划分代码的方式使我们更易识别特定职责、进行重构和维护工作。
This partitioning of code by functionality makes it easy to identify particular responsibilities, refactor, and maintain.
在理想情况下,应该根本不修改属于核心功能的代码,因为在这部分代码的测试和稳定性处理方面已经投入了大量时间。
Ideally, code pertaining to core functions should not change at all because of the time already invested in testing and stabilizing that portion of code.
考虑到SIMH中所提供的功能数量,代码易于阅读并不像您预期的那样大。
Considering the amount of functionality provided in SIMH, the code is easily readable and not as large as you may expect.
清单4中显示了要实现这种功能的必要代码。
Listing 4 shows the essential code required to achieve this.
此功能本身就是取消代码与外部关联的耦合。
This ability in itself essentially decouples code from external associations.
更容易进行扩展,因此可以轻松实现高级功能和优化的代码调试。
It is more easily extendible. This allows easy implementation of advanced features and optimized code debugging.
集成开发环境 (IDE)工具可以提供大量有用功能,例如代码完成、语法突出显示、语法分析、重构和调试。
The integrated development environment (IDE) tool can provide many helpful features, such as code completion, syntax highlighting, syntax analysis, refactoring, and debugging.
PDT还提供我们希望ide具备的功能:代码补全(见图3)。
PDT also provides something we've come to expect with ides: code completion (see Figure 3).
FireRainbow是简单的Firebug扩展,提供了非常联想的功能:代码语法高亮。
FireRainbow is a simple Firebug extension that fills in a sorely desired function: code syntax highlighting.
测试Derby数据库插件功能的简单代码。
Simple code for testing Derby database plug-in functionality.
如果一个调用者想要增加foo属性值,以下完成该功能的代码就不是线程安全的。
If a caller wants to increment the foo property, the following code to do so is not thread-safe.
如果一个调用者想要增加foo属性值,以下完成该功能的代码就不是线程安全的。
If a caller wants to increment the foo property, the following code to do so is not thread-safe.
应用推荐