如果您根本不想使用注释,怎么办?
正如没有哪条规则告诉你代码里的注释一定要怎么写才正确,也不存在“正确”属性的一个普适的列表。
Just as there are no rules that tell you exactly what comments to write in your code, there is no universal list of the "right" attributes.
您认为向xsl: out put添加一个属性(例如xalan: debug)怎么样,该属性将使所有调用向产生的树中发出一条注释?
What do you think about adding a attribute to XSL: output, such as xalan: debug which would cause all invocations to emit a comment into the resulting tree?
Well, this is one of the places where I want to come back to that highlighting of what do things do?
好,讲到这里我们得回去,看看高亮显示的关于程序,该怎么运行的注释吧?
In general, good programming style says you put in comments that are going to be valuable in helping you as a reader understand what's going on inside of the code.
通常来说,优秀的编码风格意味着,你要放进去的注释,在帮助代码阅读者,理解代码内部,是怎么工作的。
So I'm going to have an assignment of y, I'm going to have an assignment of iters left, I've got a comment that I had borrowed in order to do some debugging, and then what do I want it to do?
因此我需要对y进行赋值,需要对iters,left进行赋值,还有一个我用的别人的,用来调试的一些注释,那么接下来我希望程序怎么运行呢?
应用推荐