清单3中的源代码注释将功能分为几个步骤。
Comments in the source code in Listing 3 break the functionality into several steps.
可以在源代码注释中记录这些修改(参见下载)。
You will document this in the source commentary (see Download).
任务标记允许您在代码注释中给您自己或其他人留下说明。
Task tags let you leave notes to yourself or to other developers in code comments.
代码注释的引入在一定程度上减轻了此依赖性,但并未完全消除。
The introduction of code annotations alleviates this dependence to some extent, but not completely.
屏幕截图显示Eclipse中的Jupiter插件带有一条代码注释。
在提取中还应该使用代码注释,从而详细说明要实现的方法的具体思想或行为。
Code comments should also be used in the abstractions to detail specific ideas or behavior for a method to implement.
例如,我们允许使用源代码注释,其中包括标准的JSR- 250注入注释。
For example, we allow the use of source code annotations, including the standard JSR-250 injection annotations.
很多时候,它只是需取消 php.ini文件中的一行代码注释即可启用已编译的模块。
Many times it is just a case of uncommenting a single line in your php.ini file to enable the already compiled module.
如果使用Doxygen,代码注释就会更简洁,省去了嵌入的HTML标记,如清单5所示。
When you use Doxygen, code comments are much more terse, without the embedded HTML, as demonstrated in Listing 5.
通过将清单2中的代码注释掉,可以确保验证标志始终为false(也可以将其全部删除)。
By commenting out the code shown in Listing 2, you can be assured that the validate flag will always be false (you can remove it altogether, as an option).
U ML不能被编译、执行或解释,那它就“只剩文档编制的作用”,而且“对项目来说,除了作为详尽的代码注释外别无他用”。
It can't be compiled, executed, or interpreted, thus being "reduced to the level of mere documentation" and adding "no more value to a project than an elaborate code comment".
别为烂代码写注释——直接把它重写。
毫无疑问,你已经千百次地被告知,在编写代码时一定要添加注释。
I'm sure you have been told a number of times that you should write comments in your code.
保留这些注释仍然是个不错的做法;可以使代码更易于维护。
It's still good practice to put the annotation in there; it makes the code more maintainable.
学会使用良好的名称和更短的方法,在不提供注释说明其用途的情况下提高代码的可读性。
Develop the habit of using good naming and smaller methods and structures to make your code more readable without having to comment what it does.
文法的程序规则返回散列引用,其中包含作为文本的代码、注释和字符串。
The grammar's program rule returns a hash reference with the code, comments, and strings available inside it as text.
事实上,这个算法出现在该代码的注释中。
GCov代码覆盖显示和注释。
为了简化起见,本文省略了代码中的详细注释。
For simplicity, this article doesn't show detailed comments in the code.
看一下代码中的注释就会明白转换方法的作用(清单4)。
Take a look at the comments in the code to see what the transform method does (Listing 4).
此文件由40行代码(包括注释)组成,其作用是在窗口的中间显示文本Hello World。
that consists of 40 lines of code, including comments, to display the text Hello World in the middle of the window.
这并非是一个公平的比较,因为在很多地方我保留了C代码作为注释以供参考。
this is not a fair comparison, since in many places I’ve kept the original C code as comments for reference.
有了这些简短的描述和代码中的注释,您就能够理解函数中发生了什么事情。
With this brief description and the comments in the code, you should be able to follow what is happening in the function.
测试人员可以打开开发人员的测试脚本、检查代码和注释,并执行测试脚本以查看开发人员认为正在开发的内容是什么。
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.
代码块上的注释指明了在哪里这些操作会被执行。
Comments in the code block above indicate the points at which these actions are performed.
为扩展Lombok,需要识别或者创建将触发Lombok代码生成的注释。
To extend Lombok, you'll need to identify or create the annotation (s) that will trigger Lombok's code generation.
这些注释不是代码之中的评论,而只是给其他评审者看的评论。
These notes are not comments in the code, but rather comments given to other reviewers.
代码归档包含了许多注释,可以帮助说明整个过程。
The code archive contains a number of comments to help elucidate this whole process.
找出应该进行哪些测试的最容易的方法之一是:查看现有代码中的注释。
One of the easiest ways to find out what the test should be testing is to look at the comments in the existing code.
您应该检查代码并阅读注释,以确保您在试图运行程序前知道它将会做什么。
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.
应用推荐