他们如何才能学会写超过20行的程序呢?
Where do they learn to write a program longer than 20 lines?
注意清单3中扩展到多个行的程序语句是如何缩进以改善可读性的。
Notice how the program statements in Listing 3 that extend over more than one line are indented to improve readability.
如果电子表格应该列出鼠类而不是员工的类型,那么您必须调整调用行的程序。
Spreadsheet rows could list types of hamsters rather than employees. You would then have to adjust what the program calls the rows.
这一23行的程序将是本文中研究的最复杂的FESI程序了——但您会发觉它非常易懂。
This 23-line program will be the most complex FESI program we will explore in this article — but you should find it rather straightforward to understand.
举例来说,如果您度量软件开发人员的代码行数,那么团队将生成拥有许多不必要代码行的程序。
For example, if you measure lines of code per software developer, the team will generate programs with lots of unnecessary lines of code.
如下图所示,报表会提供堆叠区域图,以显示小组在最近四周加入、删除或修改过多少行的程序码。
As the following illustration shows, the report provides a stacked area graph of the lines of code that the team added, deleted, or modified in the most recent four weeks.
如果你思虑不周,你可能会认为编程仅仅是敲入一行行的程序语句而已——Ward cunningham。
If you don't think carefully, you might think that programming is just typing statements in a programming language. (Ward Cunningham).
该党的大会程序年年照行如仪。
The ritual of the party conference is acted out in the same way every year.
在游标定位在行中时,锁定这个被应用程序的某个事务访问的任何一行。
Locks any row accessed by a transaction of an application while the cursor is positioned on the row.
然后,DB 2可以根据预期顺序,也就是索引顺序,向程序返回符合条件的行。
DB2 can then return qualified rows to the program in the desired order, the order of the index.
程序的第一行导入了progressbar库文件。
The first line of the program requires the progressbar library file.
我们看看程序的第二行。
CS:在游标定位在任何一行中时,锁定这个被应用程序的某个事务访问的行。
CS: Locks any row accessed by a transaction of an application while the cursor is positioned on the row.
因此我们已经得到了比以前我们使用的四行代码高出很多的生成软件程序的能力。
So we get a lot more bang for the buck with those four lines of code than we used to.
状态行是应用程序窗口的另一个可选组件。
The status line is another optional component of an application window.
例如,如果想用另一个词替换某个词,编辑文件可以是简单的一行程序。
Editing files, for instance, can be a simple one-liner if you want to replace one word with another.
下三行是在程序开始的地方应当包含的调用,用来得到国际化接口的支持。
The next three lines are calls you should include at the beginning of your program to get support for interface internationalization.
最后一行为应用程序的其余执行部分禁用JIT编译器。
The last line disables the JIT compiler for the remainder of application execution.
允许您使用这么少的代码行创建如此复杂的GUI程序的编程语言并不多见。
Not many programming languages enable you to create such a complex GUI program in so few lines of code.
例如,在那个简单的行计数程序的例子中,实际上不需要解析器。
For instance, in the case of the simple line-counting program, there's no real need for a parser.
一行程序的常规使用中所遇到的一些异常是可接受的。
A few exceptions to the general usage of one-liners are acceptable.
DWARF行表包含源行(属于程序的可执行部分)与内存(包含与源代码对应的代码)之间的映射关系。
The DWARF line table contains the mapping between the source lines (for the executable parts of a program) and the memory containing the code corresponding to the source.
当我在读本科的时候,我写的最大的程序是500行可执行代码。
When I was an undergraduate, the largest program I wrote was about 500 lines of executable code.
您应该理解您的一行程序需要什么,并正确执行。
You should understand what's needed from your one-liner, and do exactly that.
上面代码中的最后一行使应用程序是可见的。
The last line of the previous code snippet makes the application visible.
日期和时间应该早于运行错误的应用程序(即删除表中的行)的时间。
The date and time should be prior to when the bad application ran (when you deleted the table rows).
从现在开始,我们将省略纯诊断性代码行,以便聚焦于直接执行程序功能的那些代码行。
From this point forward, lines that are purely diagnostic are omitted so that we can concentrate on just those that contribute directly to performing program functions.
先给出xml,随后提供每个分别列出的程序码行的注释。
The XML is given first, followed by the annotations for each individually listed line of code.
第三行对应用程序的其余部分非常重要。
The third line is actually most important to the rest of the application, however.
第三行对应用程序的其余部分非常重要。
The third line is actually most important to the rest of the application, however.
应用推荐