清单3的代码显示了正确的嵌套。
包含句点或结束符(.)字符的名字的UML代码模型中的任意一个包被展开到有一系列嵌套名字的空间,从而消除那些句点。
Any package in the UML code model with a name that contains period or full stop (.) characters is expanded to a sequence of nested name Spaces to eliminate those periods.
例如,如果一种语法中允许嵌套标记代码,或许可以使用这种递归风格。
For example, if the grammar were to allow nested markup codes, this recursive style would probably be used.
在其他对象中嵌套对象以构成嵌套的HTML代码。
You embed objects within other objects to form nested HTML code.
创建一个嵌套的、层次结构化的异常框架将改进代码的可读性及其可用性。
Creating a nested, hierarchical exception framework will improve both your code's readability and its usability.
清单1中的代码很简单;我们已经简单地将多个异常“串”在一起,以创建单个、嵌套的异常。
The code in Listing 1 is fairly straightforward; we've simply chained together multiple exceptions to create a single, nested exception.
您可以通读所有的过程代码,追踪嵌套调用,并希望就此发现问题。
Well, you can read through all the procedure code, following the nested calls and hope the problem just jumps out at you.
根据上面的分析,合理的方法应该是修改代码片段的部分逻辑,把IF语句的结构由顺序改为嵌套。
With that being stated it becomes reasonable to change part of the logic of that code snippet and change the structure of the IF statements from sequence to nested.
在编写代码时应尽量避免嵌套循环,目前大多数代码都是使用了哈希表、简单链表和单循环。
Your code should (almost) never have multiple nested loops (a loop inside a loop inside a loop). Most of the code written today should use Hashtables, simple lists and singly nested loops.
有时候,使用这种语句比嵌套的for循环或if语句更好,可以减少重复的代码而且结构更清楚。
Using such a statement can sometimes be a better route than nested for loops or if statements to cut down on repetitive code or just for better structure.
清单8中的代码用于生成这样的嵌套XML文档。
In Listing 8 is the code needed to generate such a nested XML document.
再看一看清单1、3和4,注意,所有这些代码都直接嵌套在script标记中。
Take a look back at Listings 1, 3, and 4 and notice that all of this code is nested directly within script tags.
人们并不是有意要将bug引入其代码,而是自己不会编写嵌套组件或应对其他复杂情况的代码。
It's not that people would purposefully introduce bugs into their code, but they would not be able to code for the nested components and other intricacies of the pages.
对于具有三个嵌套级别的业务对象,两行代码即可执行过去需要七行代码才能执行的工作。
For a business object with three levels of nesting, two lines of code can perform what used to require seven.
通过减少一层嵌套的括号使代码的可读性得以改善。
Code readability is improved by removing one level of nested parentheses.
在这里,我没有显示在操作统计值中查询嵌套统计值的支持代码(可以在本文的源代码中看到它)。
I don't show the supporting code for looking up nested statistics in an operation statistics here (you can see it in the article source code).
下面这段虚构的代码展示了如何使用Scala语言的嵌套语法来定义包,这些语法与C#的命名空间语法以及Ruby使用模块作为命名空间的语法很相似。
The next example shows a contrived example that defines packages using the nested package syntax in Scala, which is similar to the namespace syntax in C# and the use of modules as namespaces in Ruby.
虽然语句的缩进会让代码结构看着比较清晰明显,但嵌套的条件语句读起来还是有点难度。所以建议你如果可以的话,尽量避免使用嵌套的条件判断。
Although the indentation of the statements makes the structure apparent, nested conditionals become difficult to read very quickly. It is a good idea to avoid them when you can.
如果需要由客户端代码实例化类型,则不要使用嵌套类型。
Do not use nested types if they need to be instantiated by client code.
相对你的实际文本,你有很多冗余代码,还有很多嵌套的表格,这使我头很晕。
You have more lines of code than actual text and so many nested tables it makes my head spin.
所有代码以及任何对嵌套存储过程或触发器的调用均在代理用户的安全上下文下执行。
All code, as well as any calls to nested stored procedures or triggers, executes under the security context of the proxy user.
这样将保留所有空白,包括代码编辑应用程序为了以视觉上直观的嵌套形式“精美输出”对齐元素而添加的空格。
This preserves all white space, which includes the Spaces that might be added by code-editing applications to "pretty-print" align elements as a visually intuitive nesting.
块语句减少了当控制结构嵌套时候可能引起的混淆,提供了一种提高代码可读性的组织机制。
Block statements reduce the ambiguity that often arises when control constructs are nested, and they provide a mechanism for organizing the code for improved readability.
本文研究了多媒体应用中常见嵌套循环的变换框架,包含了依赖关系的抽象和建立、分析和变换,以及最后变换代码的生成。
This paper presents a framework for nested loop transformation, including dependence graph and offset-collection construction, analysis, transformation, and code generation.
本文研究了多媒体应用中常见嵌套循环的变换框架,包含了依赖关系的抽象和建立、分析和变换,以及最后变换代码的生成。
This paper presents a framework for nested loop transformation, including dependence graph and offset-collection construction, analysis, transformation, and code generation.
应用推荐