If you change the behavior of the code, change the documentation accordingly.
如果您改变了代码的行为,就要相应地改变文档。
We can change the behavior and functionality of application programs by changing the underlying XML rather than by changing code.
我们可以通过更改底层xml而不是通过更改代码来改变应用程序的行为和功能。
If that is so, then how much can we truly understand about the behavior of the application class's code when we consider it in isolation?
如果这样,那么当我们孤立地考虑它的时候,我们实际上能够对这个应用程序类地代码行为理解多少呢?
All of this behavior is achieved automatically, without any additional code for the developer to write, simply by implementing the code in an EJB.
所有这些行为都是自动完成的,不需要开发人员编写任何额外的代码,而仅仅通过实现EJB中的代码就可以完成。
Most of these tools create incorrect designs in any event, because they can't adequately reverse engineer the dynamic behavior of the program simply by looking at the code.
大多数这些工具无论如何创建出的设计都是不正确的,因为它们不能够仅仅通过查看代码就能逆向工程程序的动态行为。
The basic concept of test-driven development is that before writing project code, you write a simple piece of code that tests your hypothetical project code for desired behavior.
测试驱动开发的基本概念是,在写项目代码之前,你写一段简单的代码来测试你假设的项目代码,以获得预期的反应。
If you are satisfied with the code coverage and the behavior of the application, then turn your focus to non-functional issues such as performance, memory utilization, and thread management.
如果你对代码覆盖和应用的行为满意了,那么就开始把眼光集中在一些非功能性的方面,例如性能,内存使用以及线程管理。
Rewriting code alters the behavior and even the contract of code, while refactoring preserves its outward interface.
重写代码会修改代码的行为甚至合约,而重构保持对外接口不变。
The behavior of good parametric code can be influenced by parameters that can be set at run time.
在运行时,可以通过设置参数来影响具有良好参数代码的行为。
This applies in particular to action statements in the models — that is, the snippets of code that developers write into certain model elements to specify detailed behavior.
这特别应用于模型中的操作语句——也就是说,开发人员写入特定模型元素中,用于指定具体行为的代码段。
We had to write approximately 50 lines of code that actually implemented the behavior we needed in our mock object classes.
我们大约需要编写50行代码来真正执行我们在模拟对象类中所需的行为。
Unit tests often need to test nuanced behavior of the code under test, leading to similar and duplicated situations.
单元测试常常需要测试有细微差异的代码行为,因此涉及到相似和重复的情况。
If you're like many programmers who aren't fond of commenting code, unit tests are a way of documenting your code behavior.
如果您像其他许多程序员一样不喜欢为代码加注,则单元测试是记录代码行为的一种方法。
Mock objects mimic the behavior of classes written with the sole purpose of guiding code execution so that it falls within those areas under test.
模拟对象将模仿出于指导代码执行的惟一目的而编写的类的行为,以便它在测试时符合代码执行要求。
Refactoring is the act of improving the internal structure of code without changing its external behavior 14.
重构是在不变外部行为的基础上,提升代码内部结构的行为14 。
Resources that are separate from the application code and allow your application to gracefully optimize its behavior for a variety of device configurations.
与应用代码分离的资源,它能让你的应用通过各种设备配置优雅的优化其行为。
The idea of reworking your code to improve its maintainability without changing its observable behavior is not new.
修改代码使其易于维护,要求不能修改程序可观察的行为,这个思想并不是全新的理念。
This kind of implementation allowed moving "intelligence" and behavior closer to the user, using code that runs as much as possible inside the browser.
这种实现使“智能”和行为更加贴近用户,让代码尽可能多地在浏览器内运行。
The idea behind class wrapping is that a target class can be wrapped in a layer of instrumenting code that retains the same external behavior as the class that's wrapped.
类包装背后的理念是:目标类可以包装在一层插装代码中,后者具有与被包装的类相同的外部行为。
For common validation concerns, such as E-mail validation, this approach can support design philosophies where code re-use and consistent application behavior are of utmost importance.
对于常见的验证问题,如电子邮件验证,这种方法可以支持这样一种设计理念,即代码重用和一致的应用程序行为是最重要的。
The generated code in turn affects the runtime behavior of the annotated elements.
生成的代码又会影响所注释元素的运行时行为。
The added momentum of being able to examine the behavior of your code and debug it preemptively is undeniably high-speed.
您能够检查代码的行为,并预先对它进行调试,这种动力无疑是巨大的。
The code in Listing 3 correctly emulates the behavior of Listing 1, while using a couple of EXSLT functions to solve the problems I've described.
清单3中的代码完全模仿了清单1的行为,并使用两个 EXSLT函数解决了上述的问题。
Using descriptive HTML elements with default behavior saves a lot of time writing JavaScript code to simulate the behavior with general-purpose DIVs.
使用默认行为的描述性html元素可以避免用大量代码模拟通用DIV的行为。
Properties can be used to change the behavior of a component at run time without making code changes.
属性用于在运行时更改组件行为,不用更改代码。
Refactoring [Fowler] is a process of modifying code to improve quality without necessarily adding new behavior.
重组[Fowler]是不必增加新行为而修改代码以提高其质量的过程。
Add these lines of code to the test behavior class.
将这些代码添加进测试行为类。
Add these lines of code to the test behavior class.
将这些代码添加进测试行为类。
应用推荐