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.
通过《民法典》,中国希望建立一个法治国家,更好地保护公民权利。
By having this type of discussion, you can better see if the code is engineered in a consistent fashion.
通过进行此类讨论,您可以更好地了解代码是否为采用一致的方式设计的。
Pretty cool, considering how much better your code gets as a result of this small change.
相当酷,考虑一下您的代码因为这个小小的更改变得有多好。
And even if you argue that writing elegant code gives you a better chance at getting the solution sooner, I know of no studies done on this.
即使您争辩说编写优雅的代码可能会让您更快地解决问题,但是我想现在还没有研究这个问题的学科。
This would lessen the number of technologies and amount of code you have to write, providing a better overall experience for both the developer and the user.
这将减少需要使用的技术种类和您必须编写的代码量,从而为开发人员和用户提供更好的整体体验。
You can add an optional argument, a variable that holds the return code from the external program, such as 0 for success, which provides a better mechanism for debugging.
您可以添加可选的参数,即保存从外部程序返回的代码的变量,比如表示成功的0,这为调试提供更好的机制。
The new code makes a better use of system resources and includes algorithms that improve the scalability and performance.
新的代码更好地利用了系统资源,并且包括了提高可扩展性和性能的算法。
Maintaining your code structure in such a way that reduces repetition, is better organized, and is easier to read and maintain.
以能够减少重复、更具组织性、更易于读取和维护的方式维护您的代码结构。
But as programs become more complex, recursive programming gives the programmer a better way of organizing code in a way that is both maintainable and logically consistent.
不过,随着程序越来越复杂,递归程序设计能够让程序员以可维护且逻辑一致的方式更好地组织代码。
However, the more mature a project and its code base, the better the documentation tends to be.
不过,一个项目及其基础代码越成熟,那么文档也就越好。
Even better, the website can generate ready-to-use code snippets. A real time gain for you and your clients!
该网站还能生产现成的代码段,对你和你的客户来说都是一笔即时的收获。
Still, I wanted to put something together that was a little bit better designed than a few pages of spaghetti code.
不过,我仍然希望能够将一些经过良好设计的功能封装在一起,而不是采用一些像意大利面那样,将杂乱的代码拼装在一起。
Before looking at the test code, you need a better understanding of the Rails user interface layer.
在查看测试代码之前,需要对Rails的用户界面层有更好的理解。
There is indeed a better solution, but let's just use the code first, which works fine in the WebSphere Test Environment of Application Developer V5.1.2.
的确存在一个更好的解决方案,但是让我们首先使用此代码,它在Application Developer V5.1.2的WebSphereTestEnvironment中工作得非常好。
According to William a better way to compare the code is by looking at the short term and long term costs irrespective of the role. According to him.
William认为,比较代码成本,要看长期成本和短期成本,而不是看角色。
There may be some better coding tricks to shorten this a bit, but I like to keep my code somewhat readable.
也许有一些更好的编码技巧来将代码缩短一点,但我喜欢让我的代码保持相当的可读性。
To better understand model-centric development concepts, take a step back from the code and analyze the behaviour of your system.
为了更好地理解以模型为中心的开发的概念,需要退一步回到源代码并且分析系统的行为。
It allows the changing of source code during a debugger session, which is better than exiting the application, changing the code, recompiling, then starting another debugging session.
该功能允许在调试器会话中改变源代码,这比退出应用程序、更改代码、重新编译、然后启动另一个调试会话更好。
Now, because of this simple test, the overall design of my code is better because I've discovered a more appropriate abstraction.
现在,由于这项简单的测试,我编写的代码的整体设计更好了,因为我已经发现了更合适的抽象。
In such a system, it is much better to link against the compiled code instead of the actual source code.
在这样的系统中,链接到经过编译的代码而是实际的源代码会好得多。
If you have two operations that require synchronization separated by a small block of thread-safe code, you are generally better just using a single synchronized block.
要是您想用一小块线程安全代码把要求同步的两个操作隔开,那么只使用一个同步块一般会更好些。
Fortunately, technologies exist that enable you to deliver a better-than-browser user experience without having to manually install code on client machines.
幸运的是,现有的技术使您能够提供比浏览器更好的用户体验,同时不必在客户机上手工安装代码。
Raw code execution speed is usually almost as good as — sometimes better than — the equivalent code written in a compiled language such as c.
原始代码执行速度通常几乎与用编译型语言(如c语言)编写的等价代码相同(有时更快速)。
Responsibility abstractions may be a better choice, unless the project source code is not accessible from the meeting location.
职责提取是更好的选择,除非在会议地点没法访问项目源代码。
Any time a built-in primitive function is available, that will be a better design alternative than creating custom code.
如果内置基本函数在任何时间都可用,则与创建自定义代码相比,它是较好的设计备选方案。
You'd be surprised at how old code can be resurrected into a possible and better routine, or maybe even an entire product.
你也许会惊叹,旧代码也能复活成为一种更好的程序,甚至是一个完整的产品。
Figure 6 shows the same error as in Figure 5, but this time the error-handling code gives a much better picture of what happened to the user or programmer.
图6给出了与图5相同的错误,但是这一次错误处理代码向用户或程序员更好地说明了究竟发生了什么。
Figure 6 shows the same error as in Figure 5, but this time the error-handling code gives a much better picture of what happened to the user or programmer.
图6给出了与图5相同的错误,但是这一次错误处理代码向用户或程序员更好地说明了究竟发生了什么。
应用推荐