引入体系架构机制而不接触IDE中的事务逻辑代码,使用面向方面技术是一个非常有效的方法。
Aspect technology can be a very effective way to introduce architectural mechanisms without touching the business logic code in the IDE.
当然你也可以不执行TDD方式,而进行重构以去除重复代码,使其更简单、灵活、更易于理解。
You can, however, refactor without performing TDD and still banish duplication while making the code simpler, easier to understand, and more flexible.
需快速运行的组件——grep和Perl——实际上都运行得很快,而算法和显示代码则尽量不产生干扰以保证运行速度。
The components that need to be fast — grep and Perl — are very fast, indeed, and the algorithm and display code stays out of the way enough to keep things fast.
事实上,2to 3工具有一种模式,是可以不直接修改代码的,而默认情况下它是会的。你可以让它输出标准的diff来看看修改了什么。
Actually, the two-to-three tool has a mode where instead of modifying the code in place, what it normally does, you can also ask it to just print out unified diffs of what's going to change.
如果您只编写足够通过测试的代码,而不写多余的代码会怎样?
What if you only wrote enough code to get the test to pass, and no more?
此外,为保证在低速计算平台上有效实现可视化,而不牺牲有用性,本文也给出了相关方面的代码。
Additionally, certain aspects of the code are presented that allow for effective visualization on slower-computing platforms without sacrificing usefulness.
其目的是展示不触及任何源代码而进行数据源和连接程序的更改是多么简单。
The idea here is to show how easy it is to change data sources and connectors without touching the source code.
对于希望修改类而不触及源代码,或者希望在运行时动态修改类定义的开发人员,这个过程可以实现多种用途。
This process has a variety of USES for developers who want to modify a class without touching the source, or want to change the class definition dynamically at run time.
不遵循语言规范的代码将无法执行,而不遵循代码编写约定的代码却依然能够执行。
Code that does not comply with the language specifications cannot be executed, while code that fails to comply with coding conventions may still run.
开发人员测试的目标是为了保证新编写或者修改的代码能够如愿工作而不导致“回归”(也就是说,无意中破坏了之前工作的代码)。
The goal of developer testing is to ensure that newly written or modified code works as intended and doesn't cause "regression" (ie, the inadvertent breaking of previously working code).
您需要创建存储库动态Web服务,而不采用将代码存储在基于活动和资源的服务上的形式引用模型。
You need to create Repository Dynamic Web services without references to a model as a way of storing and retrieving code on activity - and resource-based services.
例如,只包含代码而不包含用户界面组件的应用程序可以加载包含本地化用户界面组件的DLL。
For example, an application that contains only code and no user interface components can load the DLL containing localized user interface components.
写一个程序吧,用集合的减法,来找一下书中包含而列表中不包含的单词吧。 样例代码。
Write a program that uses set subtraction to find words in the book that are not in the word list. Solution.
更新消息而不破坏已有代码是非常简单的。
It's very simple to update message types without breaking any of your existing code.
这些查询用编程语言本身表示,而不表示为嵌入在应用程序代码中的字符串。
These queries are expressed in the programming language itself, rather than as string literals embedded in the application code.
避免框架混淆同一家族的字体,而不触及代码。
This avoid the framework to confuse fonts of the same family without touching the code.
但是,有时您可能需要打开文档而不运行代码。
However, there are times when you might want to open a document without running the code.
总之,一个方面描述一段可重用的代码,您希望将可重用代码注入现有类中,而不接触这些类的原始程序码。
In summary, an aspect describes a reusable piece of code that you want to inject in existing classes without touching the source code of those classes.
由于浏览器不兼容,而关闭高亮代码。
Disabled code highlighting due to browser incompatibilities.
(应用在后台,不执行代码),系统自动将应用切换到这个状态而不给应用通知。
The app is in the background but is not executing code. The system moves apps to this state automatically and does not notify them before doing so.
(应用在后台,不执行代码),系统自动将应用切换到这个状态而不给应用通知。
The app is in the background but is not executing code. The system moves apps to this state automatically and does not notify them before doing so.
应用推荐