Eight lines of code read and write the XML.
有8行代码用来读写XML。
The Universal Product Code symbol, also known as the 'bar code', is printed on products for sale and contains information that a computer can read.
通用产品代码符号,亦称“条形码”,印在出售的商品上,其中含有计算机能识别的信息。
The malicious code therefore cannot read, alter, or further damage the data on your computer.
因此,恶意代码就不能读取,更改或进一步损害计算机中的数据。
If you want to read new code, print it and take it somewhere quiet.
假如你想要阅读新的程序码,将它印出并拿着它到某个安静的地方。
You won't need this code to read the article, but it can help you understand the concepts explored here in more depth.
阅读本文并不需要这些代码,但是它可以帮助您更加深入地理解在这里介绍的概念。
Understand that code is read far more than it is written, so simplifying code is important.
要理解对代码的读取操作要远比写入操作多,因此简化代码很重要。
Using good naming is the most important habit because descriptive names make code easier to read and understand.
使用良好的命名是最重要的编程习惯,因为描述性强的名称让代码更加容易阅读和理解。
They teach enough that most programmers can read code that employs exceptions and explain its actions.
通过它们的充分介绍,大多数程序员都能阅读带有异常的代码并能解释其作用。
This makes the code easier to read and debug.
这将使代码易于阅读和调试。
You can compile or run code while reading, read or run code while compiling, and read or compile code at runtime.
你可以在读取期编译或运行代码;也可以在编译期读取或运行代码;还可以在运行期读取或者编译代码。
The second CRUD operation is read: the code simply needs to read widget records from the database.
第二个CRUD操作是读取,代码的作用是从数据库中读取小部件的记录。
Now that I have the page, I need some PHP code to read that page.
既然已经有了页面,我需要一些PHP代码来读取此页面。
他们能破译这种密码。
CDATA is the XML command that tells the viewer to stop parsing the code and read the code within the block that follows as character data.
CDATA是XML命令,它告诉查看程序停止解析代码,并读取接下来的块中的代码,这里的代码是字符数据的形式。
JNI code does not read past the ends of arrays.
JNI代码未读取超过数组结束部分之外的内容。
Now we'll look at the code to read the properties file.
现在让我们看一下读取特性文件的代码。
Ideally, every line of code should be read by at least two people: its author, and a reviewer.
理想情况下,每一行代码都要被两个人看过,作者和审核人。
You should examine the code and read the comments to ensure you are familiar with what it is doing before you try to run it.
您应该检查代码并阅读注释,以确保您在试图运行程序前知道它将会做什么。
Listing 3 shows the code to read the books XML file and display the contents using SAX.
清单3显示了使用SAX读取图书XML文件并显示内容的代码。
This type of code is easy to read and test.
这种代码很容易阅读和测试。
代码有多容易阅读?
You write less code, so you have to read less code for maintenance or extension.
编写的代码越少,维护和扩展代码时工作量就越少。
The problem with using regular expression code to read XML is that it doesn't check first to make sure that the XML is well formed.
使用正则表达式代码读取XML的问题是,它并没先进行检查,确保XML的格式良好。
Arguments against Embedded DSLs are manifold. Like the idea that they make code harder to read.
对于嵌入式DSL的争论有很多,比如它们降低了代码的可读性,也确实如此。
The strings that represent each of the special characters makes the code easier to read.
代表特殊字符的字符串使得代码看起来更清楚。
Code that is read-only and executable.
只读和可执行的代码。
The code to read the books XML file and display the contents using the DOM is shown in Listing 2.
读取图书XML文件并用DOM显示内容的代码如清单 2所示。
And the following code can also read it from another element class.
下面的代码可以从另一个元素类中读取共享的对象。
Some idioms are easier to code and read when they use volatile variables instead of locks.
当使用volatile变量而非锁时,某些习惯用法(idiom)更加易于编码和阅读。
If you are writing code to read or write N-Triples, be sure to see the specification for these details.
如果您正编写读或写n -Triples的代码,那么请确保参阅了这些细节的规范。
应用推荐