从一开始就要寻求使得代码简洁的方法。
利用类的继承和多态特性,程序代码简洁,运行速度快。
By using characteristic of inheritance and encapsulation, code of programmer is more succinct, and speed of running is faster.
对系统用户操作的样例,在系统验证中可以用到,代码简洁。
The system user of the sample, the system verification can be used, concise code.
使用固定的游戏速度和最大的FPS是一个容易实现而且代码简洁的解决方案。
Using a constant game speed with a maximum FPS is a solution that is easy to implement and keeps the game code simple.
由于采用了OOP技术,使得软件源代码简洁、调试方便,极大地提高了软件生产效率。
By using OOP technology, the length of source code has been greatly reduced, and it is easy to debug.
本文采用LAG数据结构对测井曲线图数据进行压缩,压缩效率较高,且算法简单,代码简洁。
LAG was used to compress well-logging data, which has the merits of relatively high compressed efficiency, quite simple algorithm and the extremely succinct code.
文章介绍了一种面向应急救援的呼叫中心系统,其核心软件基于有限状态机理论设计而成,具有控制结构清晰、程序代码简洁高效等特点。
This paper presents an emergency call center system. The kernel software of the system is designed based on a finite-state machine, featuring with clear control structure effective program code.
这样的DECLARE语句也意味着代码更加简洁。
Such DECLARE statements also mean code that is more concise.
还要注意,这里仍然对异常未加检查,这将使代码异常简洁。
Also note the continuing pattern of unchecked exceptions, which keeps the code remarkably concise.
如果这个匿名类可被作为一个内部类单独放置,那么清单1中的代码将会简洁很多。
The code in Listing 1 would be much neater if the anonymous class was placed separately as an inner class.
但是这种欣赏并不是一定要求代码易读或者简洁。
But this appreciation does not necessarily require the code to be readable or maintainable.
什么是简洁代码?
为了简洁,此代码已经被压缩。
虽然他们定义简洁代码的侧重点不尽相同,但其中仍有共通之处:简单、无重复、易读、优雅。
Although they all emphasize different aspects of clean code, there are a few emerging themes: simplicity, lack of duplication, readability, elegance.
随着我们继续构建这个库,只要有助于使代码更简洁、更清晰,越来越多这样的特性将添加进来。
As we continue building out the library, more and more of those features will begin to worm their way in, anywhere that they help make the code more concise and more clear.
代码十分简洁并且在运行时非常高效。
The code is fairly succinct and is very efficient when it runs.
在一个例子中ejb组件的正确使用使得代码更简洁、更易懂。
In one case proper use of EJB components resulted in less, and more easily understood code.
当代码变得高效又简洁的时候,就可以说是走上正轨了。
When your code is getting both better and simpler, that is when you know it's right.
如果这些字符串经过精心挑选,它们就可以使结果代码更简洁。
If those strings are selected carefully, they can make the resulting code much clearer.
我不认为软件工程的教授们都特别欣赏代码的简洁。
I'd like to think that software engineering professors are especially tuned into code cleanliness.
看起来XML还有另一个好处:代码比文本版的代码更为简洁、容易。
It looks like there's another benefit to XML: the code is a lot cleaner and easier than the text version.
如果代码不简洁,开发的速度就会越来越慢。
像Rails那样使用这种方法,您可以两全其美:具有较少重复的简洁代码而不会失去灵活性。
Using this approach, as Rails does, you get the best of both worlds: concise code with less repetition without sacrificing flexibility.
尽管还能让这段Perl代码更简洁,但是它已经足以说明在Perl中处理XML是多么容易。
Although you can make the Perl more concise, this code also illustrates how easy it is to manipulate XML in Perl.
虽然您可以在没有jquery库的情况下完成这些工作,但是使用该库的价值在于,该代码非常简洁且所有跨平台工作都已经为您完成。
You can do all of this work without the jQuery library, but the value of using the library is that the code is concise and all the cross-platform work has been done for you.
约定优于配置也会使新的Rails开发人员能够立即上手,因为控制器和模型代码特别简洁。
Convention over configuration also leads to "aha!" moments for new Rails developers because the controller and model code is so concise.
但是,生成的XQuery代码仍然保持简洁,并不包含使用其他语言来处理XML时将出现的开销。
Nevertheless, the resulting XQuery code remains concise and does not contain the overhead you'd have when using a different language to process XML.
简洁的代码更容易debug。
我们在Generic .Dictionary类中可以发现更为简洁的代码。
This gives us the much simpler code found in the Generic.Dictionary class.
如果你的代码是简洁的,这就更容易发现bugs。
应用推荐