I had another purpose for rewriting besides improving the code and the data structure design, however. That was to evolve it into something I understood completely.
除了改进代码和数据结构,我的重写还有另一层目的,就是要把它演进成一个我完全理解的东西。
The goal of refactoring and rewriting is, to improve the sanity of the system by improving the code readability, structure and clarity.
重构和重写的目标,都是要通过提高的代码的可读性、结构和清晰性,从而提高系统的健壮性。
We avoid the cost of rewriting code to test it later.
我们也避免了重写代码后再进行测试的高昂代价。
However it can save money or create value at a future stage of development by allowing designers to make changes quickly instead of rewriting large chunks of code.
尽管如此,它可以省钱,或通过允许设计者迅速做出变化而不是重写大量代码在后面的开发阶段创造价值。
Rewriting code alters the behavior and even the contract of code, while refactoring preserves its outward interface.
重写代码会修改代码的行为甚至合约,而重构保持对外接口不变。
An SOA offers the ability to leverage existing legacy applications, which is usually a cost-effective alternative to rewriting code.
SOA提供利用现有遗留应用程序的功能,通常是在重写代码时划算的选择。
The modification of a system may include rewriting a portion of the code, changing the configuration or distribution of apps within the system, or other changes.
系统修改可能包括重新编写代码的某个部分、更改系统内部的应用程序的配置或分发以及其他更改。
To see how HTTP handlers can be used to perform URL rewriting, consult the code available for download with this article.
要查看如何使用HTTP处理程序来执行url重写,请参考可随本文下载的代码。
It's important to remember that refactoring is markedly different from rewriting code.
重要的是要记住重构与重写代码明显不同。
It should be considered that the cost of improving the existing code in an application may indeed be greater than the cost of rewriting it 17.
应该考虑一下,改进程序中已存在的代码的成本,确实要比重写它的成本高17。
While code generators understand a little bit about the target language, they are usually not full parsers and cannot take the target language into account without rewriting a complete compiler.
尽管代码生成器可以理解一点儿目标语言的知识,但是它们通常都不是完整的语法分析器,不重新编写一个完整的编译器是无法全面考虑目标语言的。
The entire code for the URL rewriting engine is available for download with this article.
url重写引擎的整个代码可随本文下载。
Most developers working with code, either for analysis or for rewriting, will start with the Workspace level.
大多数与代码打交道的开发者——或者是分析代码,或者是重新编写代码——都需要从工作空间层开始。
Rewriting or copying possibly buggy configuration code, instead of reusing a module: AppConfig is quite stable at this point, and the interface to the module is not likely to change.
重新编写或复制可能有错误的配置代码,而不是重用模块:AppConfig对这一点相当稳定,并且到该模块的接口不大可能更改。
Rewriting or copying possibly buggy configuration code instead of reusing a module.
重新编写或复制可能有错误的配置代码而不是重用模块。
We can extend the JRubyInterpreter class to avoid rewriting the JRuby-oriented code.
我们可以扩展JRubyInterpreter类来避免重写面向JRuby的代码。
From a PHP perspective, extending Ajax isn't just about rewriting the XMLHttpRequest (XHR) access code.
从PHP的角度来看,扩展Ajax功能并不仅仅是重写XMLHttpRequest (XHR)访问代码。
Mono's compiler, garbage collector, and JIT were not written by porting.net code to Linux, but by rewriting all the code starting from specifications.
Mono的编译器、垃圾收集器及JIT并非简单的将。NET代码移植到Linux上那么简单,而是根据规范重写了所有代码。
Through MSIL rewriting, Volta follows developer's declarations to turn a single-tiered application into a multi-tiered application, generating boilerplate code for communication and serialization.
通过MSIL重写技术,Volta将单层应用转化成一个多层应用,自动生成通信和序列化的例程。
In most cases I simply emulated them, rather then rewriting the code.
大多数情况下,我只是简单的模拟它们,而不是重写代码。
Instead of rewriting for the cloud, you use a hosting company that puts your existing code on VM images that can be dynamically scaled as demand changes.
相比于为云重写代码,在虚拟化中你只需要将你现有的代码,放在可以根据需要动态扩展的虚拟机映像中即可。
You must have an in-depth understanding of the data layout when rewriting those parts of the source code that are implemented in assembler.
要重新编写在汇编程序中实现的源代码的各个部分时,您必须对数据布局有深刻的理解。
Don't comment out code you mean to delete. I have known people to comment out blocks of code they were rewriting and check them in commented out.
不要把应删掉的代码注释掉了事我知道有些人重写提交代码的时候,把旧代码注释掉。
Refactoring is the process of rewriting a piece of code so as to leave its execution behavior intact, but improve it in some other way.
重写一段代码保留其运行的外部特性,但在某些方面有所改进,这样的过程称之为重构。
Tuning might mean adding memory to a starved system, modifying operating system parameters, hastening the Web or database server, rewriting code for efficiency, or some combination thereof.
调优意味着对系统增加内存、修改操作系统参数、加速Web或数据库服务器、提高代码效率或者这其中的一些组合。
Rewriting old code simply to change its style may result in the introduction of costly yet avoidable defects.
在重写代码的时候简单粗暴地改变原有风格,会导致代价惨重的缺陷,而其实这些完全都是可以避免的。
If the user interface changes in a way that changes a command sequence, the tester can fix the affected test cases by modifying the spreadsheet rather than by rewriting code.
如果用户界面的一个命令序列发生了变化,那么测试人员可以通过修改电子表格,而不是重写代码来更正相关的测试用例。
With CSS you can change the color and size attributes by rewriting one line of code.
通过CSS,你可以书写一段代码来改变颜色和字体尺寸的属性。
With CSS you can change the color and size attributes by rewriting one line of code.
通过CSS,你可以书写一段代码来改变颜色和字体尺寸的属性。
应用推荐