还记得这个代码的工作方式吗,属性的显示名就是键值。
Remember the way this code works, the display name of the property is the key.
这个事实清楚地证明:长期项目需要那些拥有良好变量名和干净设计的清晰代码。
This speaks volumes about the need for clear code with good variable names and clean design on a long-term project.
因此,您必须使用这个引用名,除非您对代码作相应的修改。
Therefore, you have to follow this reference name unless you make the corrresponding changes in the code.
当从小部件代码调用该方法时,就跨用户会话持久化项(名-值对)。
When this method is invoked from the widget code, the items (name-value pairs) are persisted across the user session.
在集成这些代码时,最主要的问题之一就是这些代码可能无法恰当地融合到已有代码中;函数或类名可能与应用程序中已经在使用的内容冲。
One of the biggest problems when integrating this code is that it may not mix very well with existing code; function or class names may clash with what we are using already in our application.
XML文档被分解,每个绑定列(题目、出版社、名、姓)被转换为数据库代码页。
The XML document is shredded, and each bound-out column (title, publisher, firstname, lastname) is converted to the database code page.
该程序将数组节点转换为说明性更强的变量名,从而使代码更易于阅读。
The program transfers the array nodes into more descriptive variable names, making the code easier to follow.
为确保这个脚本不能用于访问数据库中的任何表,代码首先检查被请求的表名。
To ensure that the script can't be used to access any table in the database, the code first checks the table name requested.
通过使用全局转发,只要逻辑引用名不变,我们就不必因为URI有所变动而修改我们的代码。
Using global forwards, we protect our code from changes to the URI as long as the logic reference name remains constant.
没有任何理由编写“丑陋”的代码、长达数页的函数,或是稀奇古怪的变量名。
There is never any reason to write ugly code, a method that spawns multiple pages, or code with cryptic variable names.
SQ2和SQ3的WSDL代码是相同的(除了绑定的过程、服务和类名之外)。
The WSDL code for SQ2 and SQ3 is identical, except of course for the binding, service, and class names.
当输入类名时,PDT也会弹出代码补全窗口。
PDT will also pop up a code completion window while you key class names.
代码输出的是一个包含同等服务名的数组。
The output of this code is a list as an array of equivalent names of the service.
从此之后,60,000名用户注册了OpenNTF,并开始下载代码。
Since then 60,000 users have registered on OpenNTF to download code.
我在代码示例中使用ext作为路径名来防止版本冲突(参阅下载,访问本文示例源代码)。
I will refer to the directory in my code examples as ext to prevent inconsistency between versions (see Downloads to access the source code for the examples in this article).
在下面的步骤中,您要创建另一个代码片断活动,以创建输出文件的文件名。
In the next steps, you create another snippet activity to create the file name for the output file.
作为一名程序员,应该在编写代码之前编写测试,然后只编写足以让测试通过的代码即可。
As a programmer, you should write tests before you write code, then write just enough code to get the tests to pass.
这个模式通过目录服务封装访问组件的代码,如JNDI客户端代码之类,因此客户端可以简单的以资源名通过验证并返回这个资源。
This pattern encapsulates code for accessing components through directory services, such as JNDI client code, so that a client can simply pass in the name of a resource and get back that resource.
这段代码几乎与数据库版本完全相同,只是修改了文件名和类名。
This code is almost identical to the database version, with some changed file and class names.
不要认为自己必须是一名本机代码或JNI专家,或者必须知道每个操作系统。
Don't think that you need to be an expert in native code or JNI or must know every OS.
对于本文,我们要解析的“语言”是“智能ASCII”所使用的一组标记代码,这些代码用来表示诸如黑体、模块名以及书籍标题之类的内容。
For this article, the "language" we will parse is the set of markup codes used by "smart ASCII" to indicate things like boldface, module names, and book titles.
比如说代码文件名不一定要和类型名完全匹配,而且包的结构也不必完全匹配实际的目录结构。
Just as file names don't have to match the type names, the package structure does not have to match the directory structure.
为此,需要添加代码来处理上传,解析文件名,以及创建与上述模式相匹配的目录路径。
To do so, you need to add code to handle the upload, parse the file name, and create the directory paths to match the scheme above.
使用中央存储库,但为项目中的每一名开发人员提供完整的项目源代码副本。
Using a central repository but providing each developer on a project with a complete copy of the source code for that project.
如果您想调用的代码已经存在,则只需改变类名以与它的名称匹配。
If the code that you want to call already exists, just change the class name to match its name.
该代码从对话框中获得订阅名、要使用的队列管理器以及要发送消息的队列名。
The code gets the subscription name, the queue manager to use, and the queue name to send the message from the dialog.
当有50名开发员致力于同一个代码库时,反馈循环的提高是很有必要的。
Any improvement in the feedback loop matters when you have 50 developers working on the same codebase.
资源引用名:资源引用的名称,是代码部分用来识别资源之用。
Resource reference name: the name for the resource reference that the code component uses to identify the resource.
资源引用名:资源引用的名称,是代码部分用来识别资源之用。
Resource reference name: the name for the resource reference that the code component uses to identify the resource.
应用推荐