如果您熟悉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.
功能代码:执行某一特别工作而不是产生字符的代码。
Function code: a code which performs a special task rather than produces the characters.
因此,本文提出了一种自动生成包括报表显示和输入功能代码的方法。
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.
同时融入了“测试驱动的开发”方法,交替实现测试代码和功能代码。
It achieves functional code and test code alternately with the "test Driven Development" approach.
如果你有类似的代码,只需要把功能代码交换一下位置,然后使用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.
我们在代码中尚未实现此功能。
下面的清单10中有实现此功能的代码。
本文的焦点在于全球化,因此,本文不会讨论实现其他功能的代码。
The focus of this article is globalization, so it will not discuss the code for other functions.
在那些情况下,您能够使用定制代码功能。
In those situations, you can use the custom code capability.
这种通过功能划分代码的方式使我们更易识别特定职责、进行重构和维护工作。
This partitioning of code by functionality makes it easy to identify particular responsibilities, refactor, and maintain.
考虑到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.
集成开发环境 (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).
这一功能的代码如清单3所示。
清单7包含了实现这一功能所需的代码。
清单7包含了实现这一功能所需的代码。
应用推荐