查看艺术品和程序注释。
元数据功能定义了向程序元素提供注释的机制。
A metadata facility defines a mechanism to supply annotations to program elements.
使用AOP结构提供注释背后的基本想法是避免将程序元素定义与注释相混淆。
The basic idea behind supplying annotation using an AOP construct is to avoid cluttering the program element's definition with annotations.
Well, this is one of the places where I want to come back to that highlighting of what do things do?
好,讲到这里我们得回去,看看高亮显示的关于程序,该怎么运行的注释吧?
And for reference, incidentally, in case you ever forget what the point of some exercise was, I'll almost always comment the code up top with a quick sentence or two that reminds you what this program does.
顺便作为参考,为了避免我们可能忘记一些代码的意思,我通常会用一两个简单的句子,在上面作出注释,那样会提醒我们这个程序是干嘛的。
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进行赋值,还有一个我用的别人的,用来调试的一些注释,那么接下来我希望程序怎么运行呢?
应用推荐