You store all of the entries that match these criteria into the variable comments.
您将所有符合这些标准的条目存储到变量comments中。
By the way, you will note that I did not write any comments for the above values. That is because their meaning is obvious from the variable name.
顺便说一下,您可能已经注意到,我没有为上述值做任何注释,这是因为从变量名可以很明显地看出这些值的意义。
To use this one action to parse text for posts and comments, make sure to init the title variable to something.
要使用这个操作来解析posts和评论的文本,请确保用init将标题变量初始化。
Code should be self explanatory. Good code with readable variable and method names should not require comments.
代码应该是自解释的。由可读性强的变量和方法组成的好的代码应该不需要注释。
The quality of the code, including formatting, variable names and comments.
质量的代码,其中包括格式,变数名称和评论。
Good variable names can reduce the need for comments, but long names can make complex expressions hard to read, so there is a tradeoff.
变量命名得当的话,就没必要用太多注释了,不过名字要是太长了,表达式读起来也挺麻烦,所以就得权衡着来了。
Good code with readable variable and method names should not require comments.
由可读性强的变量和方法组成的好的代码应该不需要注释。
Good code with readable variable and method names should not require comments.
由可读性强的变量和方法组成的好的代码应该不需要注释。
应用推荐