Whatever your purpose, whole blocks of commented code are not the best way to achieve it.
不管你的目的是什么,注释代码都不是个好主意。
Whenyou are familiar with it, your code looks a lot nicer without unnecessary blockof commented code.
当你熟悉它时,你的代码看起来好多了,没有不必要的注释代码块。
Note the similarity between the commented code and the wrapper; that's to give you a sense of what code you're trying to write.
注意注释代码和包装器之间的相似之处;这让您感觉到将要写什么样的代码。
So, as we've seen, Meschach code is easily extensible, although in an ideal world more thoroughly commented code is preferable.
所以,正如我们所看到的,Meschach代码可被容易地扩展,尽管在理想的世界中应该更加详细地注释代码。
This is a common misconception, and indeed a misnomer: spuriously commented code is documented, but by a developer, not by the code itself.
这是一个普遍的误解,而且这确实是一个错误:伪造的评论代码是文件ed,但是是由开发员写成,而不是代码本身。
Use the code Commenter Add-in to create well-commented code by automatically adding comments and headers to procedures using customizable templates.
代码注释器外接程序可以利用可自定义模板,将注释和头自动添加到过程中,从而创建注释良好的代码。
When I set up the Federation project's build configuration I used Sitebricks' ant script as a template, so some of the example commented code remains.
在我建立Federation项目的构建配置时,我使用了Sitebricks的ant脚本作为模板,因此在一些示例中留有一些注释。
You can remove the commented line of code if you want to wait a specified amount of time.
如果您要等待一段精确数量的时间,您可以清除这个代码的注释行。
This is a way to display error messages or diagnostics; the code has a number of examples of diagnostic messages sent to this stream, many of them commented out in the release.
这是一种显示错误消息或诊断消息的方法;代码将大量诊断消息示例发送到这个流中,其中很多在发行版中已经被注释掉了。
I've heavily commented the code, highlighting where I use EXSLT, as well as other useful notes.
我在代码中加了很多注释,突出说明了使用EXSLT的位置,以及其他有用注释。
The cure for object loitering in this case is to null out the reference after popping it from the stack, as shown in the commented-out line of code in Listing 3.
修复这种情况下的对象游离的方法是,当对象从堆栈弹出之后,就消除它的引用,如清单3中注释掉的行所示。
Don't comment out code you mean to delete. I have known people to comment out blocks of code they were rewriting and check them in commented out.
不要把应删掉的代码注释掉了事我知道有些人重写提交代码的时候,把旧代码注释掉。
The workbench code is well commented, but here are some additional notes.
已经对工作台代码做了很好的注释,但这里还有一些需要注意的地方。
For details, please consult the complete source code, which is heavily commented, and compare it to Figure 1.
细节请参考完整的源代码(其中有很多注释),并参照图1。
Instead of simply assigning its internal Book reference to the specified Book (which would be accomplished using the code that is commented out in Listing 3), it USES an AtomicReferenceFieldUpdater.
它不仅仅将其内部Book引用分配给指定的Book(这将使用清单3中注释出的代码来完成),而是使用一个AtomicReferenceFieldUpdater。
Complex areas, algorithms, and code optimizations should be sufficiently commented, so other developers can understand the code and walk through it.
复杂算法和代码优化需要足够的注释。以确保开发人员可以理解并审核。
If the code is well-commented and well-documented this makes changes easier for the developers.
假如代码中有比较好的注释和文档,则开发人员改变起来比较容易一些。
I'd also like to add that the source code for this library is thoroughly commented.
我还想补充一点,源代码,这个库是彻底的评论。
My code is well structured for debugging and appropriately commented, but third party packages rarely are.
我的代码结构良好的调试和适当的评论,但很少有第三方包。
Up on the screen, I've got — I commented it out, but I've got a piece of code that you've seen before, right up here. OK?
我现在在大屏幕上标出来的,是你们以前看过的一段代码,就在这儿?
Note: The code provided works well and has been well-formatted, but is intentionally not well-commented.
注:代码提供运作良好,并已得到很好格式的,但故意不充分发表了意见。
See attached. File contains some notes and the code is commented.
请看附件,包含了一些笔记和注释代码。
See attached. File contains some notes and the code is commented.
请看附件,包含了一些笔记和注释代码。
应用推荐