Hopefully, I've convinced you by this point that annotations are not always better than configuration files.
在这一点上,我希望已经说服了您:注释并不总是比配置文件好。
Remember, you can always change course. You can always change your aim, but if you haven't fired yet, what's the point of aiming?
记住,你一直都可以改变行动方式。而且,你也可以改变目标,但是假如你没有付诸行动的话,做计划有什么用?
And in that story, there's always a point where you keep laughing past this line, and suddenly someone's being shot and you're laughing and then [readers] get very uncomfortable.
在这篇小说里,总会有这样的地方:当你读完这一行的时候还在大笑不止,突然有一个人物被枪杀了,你笑着笑着就开始觉得很不舒服。
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.
顺便作为参考,为了避免我们可能忘记一些代码的意思,我通常会用一两个简单的句子,在上面作出注释,那样会提醒我们这个程序是干嘛的。
Just take a look: if this is 9, 5 divided by 9 is always going to be 0 point something, and if you thus have two integers and you're rounding down, which is what happens when you do integral math we're using this operator, I'm going to get zero times whatever.
稍微看一看:如果这是9,5除以9会得到,0点几,如果你用两个整型数,你舍去小数,这就是当你们,用整型数使用这个操作的所发生的事情,我将得到数值0乘以任何一个数字。
应用推荐