He's had to rewrite the code several times in order to allow it to scale.
为了迎合规模的扩张,他不得不数次重写代码。
To see how it works, let's rewrite the code from Listing 6 for Prototype (see Listing 9).
为了探究其工作原理,让我们针对Prototype重写清单6的代码(请看清单 9)。
The team has spent time and money to learn and rewrite the code so it USES the regexp library.
团队已花费时间和财力来学习并重新编写代码,以使它使用regexp库。
The list of pages to rewrite the code, and more beautiful. 2. To increase the content of the relevant page width js code.
重新编写列表页显示代码,更加美观。2。增加内容页宽js相关的代码。
So you can rewrite the code in Listing 10 a little bit by putting the locale get method in a utility class, as Listing 11 shows.
这样您就可以将场所获取方法放在工具类中,来重写列表10中的代码,如列表11所示。
If the code is so confusing that you have to document what it's doing, take that as a hint that you should rewrite the code to make it easier to understand.
如果代码很复杂,不得不注释它当前在做什么,这将暗示您应该重写代码,让它更容易理解。
Piergiuliano thinks it’s normal to explore the api without TDD, waiting until you’ve enough of an understanding of the api to come back and rewrite the code.
Piergiuliano认为不通过TDD的方式来搞清楚api的用途是很正常的,等到对api有了足够的理解之后再重新编写代码,也许效果更好。
Using a popular design pattern (MVC), you must rewrite the code of the corporate Web site so the model and the view are not bound to a particular programming language.
为了使用流行的设计模式(MVC),您必须重写公司Web站点的代码,使模型和视图不特定于某种编程语言。
The implementation type can be swapped out in the configuration file, eliminating the need to rewrite the code to accommodate the different implementation methodology.
在配置文件中,可以换出实现类型,从而不再需要为适应不同的实现方法而重写代码。
The other motivation is that even for Python wizards it is very inconvenient to rewrite the code managing the _metaclass_ hook every time one writes a new class initializer.
另一个动机是,即使对于python奇才来说,每次编写新的类初始化器时都得重写管理_ metaclass _钩子的代码也是很不方便的。
Extending the JAAS in this way decreases the chances that you or another programmer will have to rewrite the code as the business rules change over the lifespan of the application.
用这种方法扩展JAAS减少了您或另一个程序员必须在应用程序生命周期内业务规则发生更改时重写代码的可能性。
When the system crashes regularly or a virus hijacks the network, there's no easy alternative: you need to upgrade the whole system, maybe even rewrite the code from the bottom up.
当系统定期崩溃或是一种病毒劫持了网络,你别无选择:你需要升级整个系统,也许甚至要从下到上重写代码。
If you want to avoid this, along with having to constantly rewrite code to keep pace with the requirements changes, start a CCB or the equivalent.
如果你想避免这一点,避免跟着需求的变更不断地被迫重写代码,那就请启用一个CCB或者类似的东西。
When you find yourself doing it, stop and ask yourself how you could rewrite the section of code you're copying to be something that you can reuse.
如果您采用这种方式,请停止这个不良的习惯,然后考虑将这段代码重写为可重用的。
When design debt is extreme, it is often faster and less risky to rewrite the debt-ridden body of code than to attempt to improve it.
当设计债十分严重时,重写代码的出问题部分,要比试着修复它更快,风险性更小。
Taking the sample in Listing 5 as a guide, I'd rewrite that fragment into something like the code in Listing 6.
参考清单5中的例子,我将这段代码改写为清单6的代码。
Let me rewrite the generated code to ignore the code that the C# compiler originally generated...
让我重写一下生成的(IL)代码吧,让编译器忽略以前生成的”。
If you want to dramatically alter how requests are processed or the order in which parts of a request are handled, you've got a daunting task: you have to essentially rewrite the Struts code base.
如果想修改处理请求的方式,或改变处理请求过程中各部分的顺序,那么将面临巨大的困难。实际上,不得不重新编写Struts代码基。
To make my example easier to follow, I chose not to modify code, but you are welcome to dive in and rewrite the entire kernel subsystem if you are so inclined.
为了让我的例子更容易试验,我没有选择修改源代码;不过只要您希望,欢迎继续重写整个内核的子系统。
These changes include a complete rewrite of the binding compiler code generation, with an added option for using source code enhancement as an alternative to bytecode enhancement.
这些变化包括:对编译器代码生成进行完全重写,添加用源代码增强代替字节码增强的选项。
While this is hardly an easy task with code base that has grown out of control, without refactoring the only solution you can look up to is the complete rewrite.
这对于那些业已脱离控制的代码库而言并非易事,如果不诉诸于重构,那么唯一的解决之道就是彻底地重写。
If the platform can provide these options from a single code base without the need to rewrite anything, then development time and maintenance are again greatly reduced.
如果平台能够从单个代码基提供这些选项而不必重写代码,那么部署时间和维护又会极大减少。
At the same time, it represents a powerful example of how seamlessly a user interface can be improved without having to rewrite a ton of existing code.
它同时也有力地展示了用户界面如何能在不重写任何现有代码的情况下轻松地改进。
Keats says being able to see the software's source code, or computer language code, and being able to rewrite or make changes gives users a sense of ownership.
济慈说软件源代码或电脑机器码可见性,以及软件可以任意重编或修改,这些都能使用户产生自主感。
Let's rewrite the application code to use the XML model to hold the customer and items information.
重写应用程序代码,让它使用xml模型保存客户和商品信息。
Michael suggested that, though refactoring and rewrite might lead to cleaner code however, both the techniques bring chaos to the existing system.
Michael建议,虽然重构和重写都会使代码更加清晰,但是这两种技术都会导致现有系统的混乱。
Alternatively, modify the Synaptics driver source code to support additional features at the kernel level and rewrite applications to take better advantage of these new input channels.
此外,修改synaptics驱动程序源代码以支持内核级别的其他功能,并重写应用程序以更好地利用这些新的输入方法。
Much of the code could require a rewrite when you port the curses-related code from Solaris to Linux.
当您将与curses有关的代码从Solaris移植到Linux上时,很多代码都需要重写。
Even if Skype's founders had won their legal IP claims — they eventually settled, in exchange for an ownership piece — the buyers likely believed they could rewrite the necessary code.
即便Skype创始人真的赢了知识产权诉讼案——他们最终达成了和解,换取部分股权——这些投资人可能也相信他们能重写所需的代码。
Even if Skype's founders had won their legal IP claims — they eventually settled, in exchange for an ownership piece — the buyers likely believed they could rewrite the necessary code.
即便Skype创始人真的赢了知识产权诉讼案——他们最终达成了和解,换取部分股权——这些投资人可能也相信他们能重写所需的代码。
应用推荐