In a simple command-line script, I favor the brevity of the code in Listing 19.
对于一个简单的命令行脚本中,我欣赏清单19中的代码的简洁性。
But don't let its brevity fool you — there's a lot going on in that code!
但是,不要让这种简洁性欺骗了您,这段代码中有许多内容!
I've cut out all of the HTML markup code here for brevity; you can see it in the Invoice.
为了简单明了我已经删掉了此处所有的HTML标记代码;
The class also has the usual getters and setters, but they are not shown for the sake of brevity (see Downloads for the full code listings).
该类还有常用的getter和setter,但是为了简短起见并未显示(请参阅 下载 以获得完整的代码清单)。
Listing 4 shows the header of the implementation class for the Library bean implementation class; I've left out the remainder of the code for the sake of brevity.
清单4显示了Librarybean实现类的实现类头;为了简洁起见,我省去了其余的代码。
For example, Listing 3 creates a function in the ZipMap class that looks up the name of a city given its ZIP code (error and exception-handling code are ommitted for brevity).
例如,清单3在ZipMap类中创建了一个函数,通过给定的ZIP代码查找城市名称(为了简便起见,省略了错误和异常处理)。
This tiny block of code creates a window with two buttons side-by-side. For brevity, it's hard to beat Tk when defining windows and widgets
这一小块代码创建了一个带有两个并排的按钮的窗口。
All the input is provided through a simple HTML form. (the corresponding form is not shown, and code to trap errors in the PHP code has been omitted for brevity.)
所有输入都是通过简单的HTML表单来提供的(为了简洁起见,不显示相应的表单,并且已经省略了用于捕捉PHP代码错误的代码)。
This code has been compressed for brevity.
为了简洁,此代码已经被压缩。
For the sake of brevity, I've left the details of the document out of this article; download the sample application source code for details.
为了简短,本文不讨论这个文档的细节;请通过下载示例应用程序源代码了解细节。
If we put brevity too high on our list of priorities, we will end up with code that is hopelessly obfuscated.
如果我们赋予简洁太高的优先级,我们终将无可奈何地陷入令人困惑的代码之中。
In the interest of brevity, we've omitted the code for that class.
为简便起见,我们省略了那个类的代码。
For brevity, we omit the exact listing of the start method; refer to the attached source code for details.
为了进一步简化,我们省略了start方法的清单;有关细节,请参考本文随附的源代码。
For the sake of brevity and readability, I omitted most of the source code from this article.
为了简洁和可读性起见,我省略从本文中的大部分源代码。
For the sake of brevity and readability, I omitted most of the source code from this article.
为了简洁和可读性起见,我省略从本文中的大部分源代码。
应用推荐