Capture code comments in unit tests.
在单元测试中捕获代码注释。
See Supplying Code Comments and for more information.
如需详细资讯,请参阅提供程序码注解。
Develop a habit of formatting your code comments consistently.
找到一种属于自己的注释格式。
Provides examples of code comments in various development languages.
以各种开发语言提供程序码注解的范例。
When you want to write XML code comments for the declaration of the control.
需要为控件声明编写XML代码注释时。
Task tags let you leave notes to yourself or to other developers in code comments.
任务标记允许您在代码注释中给您自己或其他人留下说明。
Don't leave to-do lists within your code comments, especially if you're delivering code to the client.
不要把代码注释里的to - do列表留下,尤其是你需要提交代码到客户端的时候。
When you use Doxygen, code comments are much more terse, without the embedded HTML, as demonstrated in Listing 5.
如果使用Doxygen,代码注释就会更简洁,省去了嵌入的HTML标记,如清单5所示。
Code comments should also be used in the abstractions to detail specific ideas or behavior for a method to implement.
在提取中还应该使用代码注释,从而详细说明要实现的方法的具体思想或行为。
The exact answer can be found in the source here and there is at least some source code comments describing what it means.
确切的答案可以在源代码中找到在这里并至少有一些源代码注释描述这意味着什么。
I am sometimes asked about my position on code comments, and, like most things, I have strong opinions about it. Two kinds of comments exist.
有时候我会对代码注释有些疑问,自然而然的对于这些疑问我有些明确的看法。
From code comments and code navigation to generating code snippets and performing complex find-and-replace searches, this chapter covers all you need to know while you write code.
有代码注释和浏览,有生成小代码段和执行复杂的查找替换操作。一切在你写代码时需要了解的事情都可以在这一章里找到。
Extract method to extract the region of code that is marked by code comments into its own method and then execute the refactored code, then 10 will be printed to the console.
“提取方法”将代码注释所标记的代码区域提取到其自己的方法中,然后执行重构后的代码,则将向控制台输出10。
Comments in the code block above indicate the points at which these actions are performed.
代码块上的注释指明了在哪里这些操作会被执行。
These notes are not comments in the code, but rather comments given to other reviewers.
这些注释不是代码之中的评论,而只是给其他评审者看的评论。
Comments in the code will help guide you through the changes.
代码中的注释可以指导您进行更改。
Self-documenting code is not code with lots of inline comments.
自我记录的代码并不是拥有大量在线评论的代码。
In fact the algorithm appears in the comments of the code.
事实上,这个算法出现在该代码的注释中。
However, after the release of this consolidated UI plug-in, developers who were trying to use it in their own code had comments (or complaints) that the code, while good, was all very different.
然而,在这个合并的UI插件发布之后,尝试在自己的代码中使用该插件的开发人员认为(或抱怨)它虽然很好,但彼此的差别过大。
And finally we have the last version, with code and comments.
最后,得到带有代码和注释的最终版本。
Please see the discussion of the code and the comments in the code provided in this article for additional information about how the architecture works.
请参阅有关本文中所提供的代码和代码中的注释的讨论,获得有关架构如何工作的额外信息。
The developer can open the test script, review the code and comments, and run the test script to see what the original developer thought she was developing.
开发人员可以打开测试脚本,检查代码和注释,并运行测试脚本以查看原有开发人员所认为自己开发的内容是什么。
I won't put the file's code in the article, you can download it and read the comments in the code.
我不会将这些文件的代码放在这片文章了,你可以下载代码并查看代码中的注释。
The tester can open the developer's test script, review the code and comments, and run the test script to see what the developer thought she was developing.
测试人员可以打开开发人员的测试脚本、检查代码和注释,并执行测试脚本以查看开发人员认为正在开发的内容是什么。
It does, however, tell the code manager if comments from a programmer are unusually terse, unusually verbose, or difficult for a nonprogrammer to understand.
然而,它的确会告诉代码管理员,某个程序员的注释是极其简洁的、异常冗长的还是对非编程人员来说是很难理解的。
Don't just echo the code with comments - makeevery comment count.
不要用重复代码的形式写注释——让每个注释都有意义。
The grammar's program rule returns a hash reference with the code, comments, and strings available inside it as text.
文法的程序规则返回散列引用,其中包含作为文本的代码、注释和字符串。
The grammar's program rule returns a hash reference with the code, comments, and strings available inside it as text.
文法的程序规则返回散列引用,其中包含作为文本的代码、注释和字符串。
应用推荐