This can be good, because DI makes your code better.
不过这很好,因为di使代码更好。
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.
相当酷,考虑一下您的代码因为这个小小的更改变得有多好。
One good approach to writing better paging code is to use stored procedures.
一个写出更好的分页代码的办法是使用存储过程。
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.
当您丢弃陈旧的代码,以更好的代码取而代之的时候,您可以保留内容和显示。
I would tend to ask any customer: Do you really think your team can develop code that isN better?
我想问每个客户:您真的认为您的团队能够开发更好的代码吗?
The less code you have to maintain, the better.
您需要维护的代码越少越好。
We'll use simple code examples to better understand how each of these approaches works.
我们将使用简单的代码示例帮助您更好理解每一种方式是如何工作的。
However, the more mature a project and its code base, the better the documentation tends to be.
不过,一个项目及其基础代码越成熟,那么文档也就越好。
You can tweak the code to better suit it to your own needs.
您可以稍微调整代码,使其更合乎您的需要。
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.
很显然,越是了解如何编写更好的代码以及如何有效测试软件,就越能及早地捕捉到缺陷。
Documenting code is better done while you are programming it.
您最好在编程时为代码建立文档。
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.
好处一是节省资金,好处二是它可以经常发布更好的代码。
Pair programming has been shown to produce better quality code without undue overhead.
成对编程看起来可以产生更好的质量且避免过大的压力。
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.
此外,我们还将编写不当的代码替换成更优质的代码,从而简化将来对代码库的支持。
More tests, better code, and happy programmers follow.
测试越多代码就越好,程序员以后也就越省事。
Needed: better code auditing tools
需求:更好的代码审核工具
Needed: better code auditing tools
需求:更好的代码审核工具
应用推荐