有经验的程序员能够一眼看出程序的源代码并断定它是否是一个易读的代码。
Experienced programmers can look at a program's source code and tell whether it's readable or not.
该附录的题目是Documenting OurProgram,而它真正是关于如何书写易读的代码及遵照已建立的指南的章节。
The title of the appendix is Documenting Our Program, but it's really a chapter on how to write readable code and follow established guidelines.
称为ObfuscationList.txt的新FileResource设计元素将包含清楚易读的代码名称到简短含义模糊的名称的映射。
A new File Resource design element called ObfuscationList.txt will contain the mapping of legible code names to the short cryptic names.
发生的操作虽然很多,但如果熟悉了这些注释,代码将很容易读懂。
A lot happens, but yet once you get used to the notation, the code is self-explanatory.
无论多么努力地尝试,使此类引导代码优雅、干净、易读也是非常困难的。
However hard you try, it's difficult to make this kind of bootstrapping code neat, tidy, and easy to read.
最后当你拿到他干的活儿时,里面可能就20行实际代码,简单易读。
But when you get the project it will only be 20 lines of actual code and will be very easy to read.
这样做不仅代码易读性强,可维护性好,而且能够更快的查找bugs.你将会喜欢在你的编辑器里使用右键进行重构.
我意识到“判断”代码的优雅性和易读性并不是一件很容易的事,事实上是非常主观的看法。
I realize that "judging" code for its elegance and readability is not an easy task and is, in fact, rather subjective.
虽然他们定义简洁代码的侧重点不尽相同,但其中仍有共通之处:简单、无重复、易读、优雅。
Although they all emphasize different aspects of clean code, there are a few emerging themes: simplicity, lack of duplication, readability, elegance.
分配和标准分级没有谈到任何惩罚或者对干净的、易读的、有条理的代码的奖励。
Assignments and grading criteria don't mention any penalty or reward for clear, readable, well-written code.
这样比使用临时变量效率更高,代码也变得更加简要,至于这样的代码是易读还是含混,就取决于您的观点了。
This can be marginally more efficient than using a temporary variable and, by making the code terser, makes it either easier to read or more cryptic, depending on your point of view.
这个使我们的代码变得更易读,更优雅,更简洁紧凑一点。
And this starts to make our code more readable, more elegant, just a little more compact.
如果您在编写php代码的过程中养成本文讨论的良好习惯,您将能够构建易读、易理解、易维护的代码。
If you develop the good habits discussed in this article while developing your PHP code, you'll build code that is easy to read, understand, and maintain.
如果这两个元素是在一个代码片段中实现的,那么代码可能不太容易读懂,因为同时发生的事情很多。
If these two elements were implemented as one monolithic piece of code, it might be a bit tricky to read, because there are several things going on at the same time.
这个结构是极度简化的,没有被很好地实现;这是为了让代码更少,更容易读懂。
The structures are fairly minimalist and not very well generalized; this is to make the code smaller and easier to read.
它将变量的声明与其使用分离开来,使代码的易读性降低。
It separates the declaration of the variable from its use, making the code a little harder to follow.
一个倾听我们记录的播客的人简单地问了这样一个问题:为什么当今大学毕业生不能够编写出干净的代码(也就是,易读的、结构合理的、优雅的代码)呢?
One of the people listening to us record the podcast simply asked me why students coming out of our colleges today don't write good code (that is, readable, well-formatted, elegant code).
它以一种易读的格式显示了页面的html源代码。
It displays the HTML source code of the page in a format that is easy to read.
我们通常认为优雅的算法或者技术的优雅比代码的易读性和结构具有更高的价值。
We often value elegant algorithms or technical elegance over code readability and structure.
该程序总共包含三十行代码(一些仅仅是end语句)。依我看来,它还是十分易读的。
Altogether the program contains just thirty lines of code some of which are just end.
除了我们介绍的高易读性的代码,我们还介绍了一种简单的,类似于Rails视图中使用的碎片缓存的缓存技术。
Beside readable code we introduced a simple caching similar to the fragment caching found in Rails views.
此代码比dbus-ping-listen.c 中相应的 C 代码 更简明,也更容易读懂。
This code is more concise than the equivalent C code in dbus-ping-listen.c and is easier to read.
使代码更易读,这意味着代码中发生错误的概率降低。
Makes code easier to read, which means it is less likely that errors will creep into it.
使代码更易读,这意味着代码中发生错误的概率降低。
Makes code easier to read, which means it is less likely that errors will creep into it.
应用推荐