If you know that you need to change something in three different places, you avoid doing it even if it would make the code better in the long run.
如果您知道需要在三处不同的位置更改某个内容,那么即使有利于代码的长期运行,也应该避免这样做。
While it may seem strange to do this, starting at the beginning of the modeling process will help you not only understand your code better, but assist you in the future when modeling other systems.
尽管这看起来很奇怪,但是从建模步骤之初开始不但可以帮你更好地理解代码并且将来可以帮助你给其他系统建模。
Don't diddle code to make it faster—find a better algorithm.
不要为了使代码更快而胡乱编写代码——要找到更好的算法。
If the company does not have a dress code, remember that it's better to overdress than underdress.
如果公司没有着装要求,记住穿得太正式比穿得太暴露更好。
With the Civil Code, China hopes to set up a country under the rule of law with better protection for civil rights.
通过《民法典》,中国希望建立一个法治国家,更好地保护公民权利。
Yehuda cites transparency, trust, motivation to write better code, and recognition for contributors as some of the benefits of such an arrangement.
对于这种安排的好处,耶胡达举出了几点:透明、信任、写出更好代码的动力,以及对贡献者的承认。
Pretty cool, considering how much better your code gets as a result of this small change.
相当酷,考虑一下您的代码因为这个小小的更改变得有多好。
By using the tool, you are able to make your models more precise, which results in better designs, clearer communication, and better code generation.
通过利用此工具,您能够令您的模型更精确,这将形成更好的设计,更清楚的交流,以及更好的代码生成。
One good approach to writing better paging code is to use stored procedures.
一个写出更好的分页代码的办法是使用存储过程。
The goal of these translations is better abstraction and code that is easier to understand and maintain.
这些转换的目标是使抽象更好,代码更易于理解和维护。
Duplication harms projects because it resists attempts to make structural changes or refactor toward better code.
复制对项目有害,因为它不利于做出结构更改或重构为更好的代码。
The use of all three methods leads to better code quality than the original two methods alone.
使用所有的三种方法比最初只使用两种方法会带来更高的代码质量。
The benefits of doing so include flexibility, keeping maintenance of the application easy as it grows, code reuse, and better performance.
这么做的好处包括灵活性、保持应用程序易于维护、代码重用和更好的性能。
Now, because of this simple test, the overall design of my code is better because I've discovered a more appropriate abstraction.
现在,由于这项简单的测试,我编写的代码的整体设计更好了,因为我已经发现了更合适的抽象。
The new code makes a better use of system resources and includes algorithms that improve the scalability and performance.
新的代码更好地利用了系统资源,并且包括了提高可扩展性和性能的算法。
You can keep the content and the presentation while losing your older code to something better.
当您丢弃陈旧的代码,以更好的代码取而代之的时候,您可以保留内容和显示。
If you're already building code this way, you can better recognize and refactor bad implementations.
如果您已经在用这种方式构建代码,那么您就可以更好地识别和重构不好的实现。
You'll next see how customizations can be used to modify the code generation so it better fits your needs.
接下来将看到如何使用自定义来修改代码生成,以使其更好地满足需求。
However, the more mature a project and its code base, the better the documentation tends to be.
不过,一个项目及其基础代码越成熟,那么文档也就越好。
Obviously, the more I learn about how to write better code and learn how to effectively test software, the better I am at catching defects.
很显然,越是了解如何编写更好的代码以及如何有效测试软件,就越能及早地捕捉到缺陷。
Refactoring turns code that works into better code that works.
重构能将可以运行的代码变成运行得更好的代码。
For one, it saves you money. For another, it actually results in the ability to release better code more often.
好处一是节省资金,好处二是它可以经常发布更好的代码。
It's far better to build code that's easy to refactor and exactly what you need.
最好是构建易于重构的并且完全是您所需要的代码。
Additionally, we made it easier for future support of the code base by removing the poor quality code and replacing it with much better quality code.
此外,我们还将编写不当的代码替换成更优质的代码,从而简化将来对代码库的支持。
Needed: better code auditing tools
需求:更好的代码审核工具
Therefore, it's a good idea to use assertion macros in the TearDown code for better maintenance.
因此,为了便于维护,最好在TearDown代码中使用断言宏。
Instead of making code relate better to problem domain, you will probably make things worse and end up introducing bugs into your application.
代码若与问题域紧密相关,就有可能使得事情变得更加糟糕,最终还会为你的应用程序引入bugs。
Its 50m lines of code include better security, a sophisticated desktop-search tool and new navigational designs.
五千万行的代码包括了更高的安全性,一个先进复杂的桌面搜索工具,新的导航设计。
Its 50m lines of code include better security, a sophisticated desktop-search tool and new navigational designs.
五千万行的代码包括了更高的安全性,一个先进复杂的桌面搜索工具,新的导航设计。
应用推荐