For large companies this is a big deal since they typically like to create architectures that help them re-use code in different applications.
对大公司来说这很重要,因为他们一般喜欢创建能帮助他们在不同的应用中重用代码的架构。
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.
对于常见的验证问题,如电子邮件验证,这种方法可以支持这样一种设计理念,即代码重用和一致的应用程序行为是最重要的。
That's a possibility in this case, but you probably wouldn't perform this refactoring until you actually needed to re-use this code.
那就有可能是需要重构的原因了,不过除非真的需要重用这部分代码,否则您很可能并不会执行重构。
Much of the product code needed to support the new SOAP message processing is obtained through the re-use of an IBM implementation of the AXIS2 code called AXIS2J.
支持新的SOAP消息处理所需的许多产品代码都通过重新使用AXIS2代码的IBM实现(名为axis2j)获得。
Minimize the complexity of your software through code re-use wherever possible
尽可能重用代码,使你的软件复杂度最小化。
To re-direct the code generation of the individual definitions into a different file, use a mapping model (as described in a later section).
为了在不同文档中重新指导个人定义的代码生成,可使用映射模型(详述见以下章节)。
Its main strength is allowing view-code fragments to be packaged up for re-use, without sacrificing flexibility down the line...
它的主要强项在于可以将代码段打包以期复用,而不需要牺牲灵活性。
That will allow you to re-use methods, and in case a change is required, you are able to do the change by modifying minimal amount of code.
那样允许你复用方法,并且一旦出现变化,你能购以修改最少的代码满足变化。
Compared to Linux, FreeBSD is distributed under a much less restrictive license, which allows virtually unrestricted re-use and modification of the source code for any purpose.
相较于Linux操作系统,FreeBSD是分布在一个更宽松的许可证,这几乎可以无限制地重复使用和源代码修改为任何目的。
To test our new mediation code simply re-deploy the updated mediation application to WebSphere and use the Web Services Explorer to call the Gateway service.
要测试我们的新中介,只需重新将经过更新的中介应用程序部署到WebSphere并使用WebServicesExplorer调用此网关服务即可。
This is straightforward code re-use, which is just as desirable in test automation as in any other software development.
这属于直接的代码重用。与其它任何软件开发一样,在测试自动化中也有同样的需求。
Don't strain to re-use code; reorganize instead.
不要过度重用代码,而是通过重新整理代码来完成重用。
Don't split methods too much, think, which code you will really re-use.
不要把方法细分得过多,仔细想想你真正打算重用的是哪些代码?
Use our header checker to find any page's status code to ensure that your URLs are returning the appropriate status codes and re-directs are working properly.
使用我们的头检查发现任何网页的状态代码,以确保您的网址是返回适当的状态代码和再指导工作正常。
On the other hand, it makes you write more code, and it is harder to re-use (because it is not a subclass).
另一方面,它使您写更多代码,并且它是更难于重复利用(因为它不是子类)。
Don't split methods too much think which code you will really re-use.
不要把方法细分得过多,仔细想想你真正打算重用的是哪些代码?
Extending these frameworks can save you a lot of effort: you have comparison methods ready to use, and you can re-use a lot of their code.
扩展这些框架可以节省你很多的精力:你准备用比较的方法,你可以使用大量的代码。
This process—rearranging a program to improve interfaces and facilitate code re-use—is called refactoring.
这个过程中,改进了界面设计,增强了代码再利用,这就叫做重构。
Thus re-entrant section of code usually must use local variables only in such a way that each and every call to the code gets its own unique copy of data .
因此,代码的可重入区域通常必须使用局部变量,也仅以此方式,每个对这些代码的调用才会有独属于自己的一份数据副本。
Thus re-entrant section of code usually must use local variables only in such a way that each and every call to the code gets its own unique copy of data .
因此,代码的可重入区域通常必须使用局部变量,也仅以此方式,每个对这些代码的调用才会有独属于自己的一份数据副本。
应用推荐