引入体系架构机制而不接触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.
Once your programs get fairly complex, it becomes harder and harder to find things and to tweak things if you're not being organized.
一旦代码稍微复杂点,而你又不规范你的代码,那么你想找什么东西就很困难了。
You open what we call the "text editor," the specific one we used on Wednesday was called Nano, -- which is similar to Notepad or TextEdit -- totally simple, kind of dumbed down but in a useful way so that you can just focus on writing code and not learning some new interface.
你先打开那个“文本编辑器“,就是我们周三用过的叫做Nano的编辑器,这个跟写字板和记事本差不多-,非常简单的,只是通过一种有用的方法而进行精简了的,所以你们可以把注意力集中在编写代码上,而不需要学习一些新的界面操作。
应用推荐