So let me go back up here, and I'm going to comment out that region, and let's uncomment this region.
那么让我们回到这里,我会为这个区域添加注意,让我们先取消注释。
So I'm going to comment those out, and let's go down to this piece of code, and uncomment it.
那么我会把这些注释上,让我们看看这段代码,取消注释。
Comment that out, and let's uncomment this.
把它注释出来了,让我们去掉注释。
And uncomment that, and uncomment it again.
然后把注释去掉,然后再取消注释一遍。
And so, in fact, the version that I commented out which is also in your handout and I'm now going to uncomment, let's get that one out, get rid of this one-- notice the only change.
所以事实上,我之前注释掉的版本,你们的讲义上也有,我打算把注释去掉,我们把他拿出来,把这个丢到一旁,注意下唯一的改变。
Yeah, if my machine will come back up, there we go. So, I'm going to now go ahead and write a little piece of code, and I put it here and I hope you can actually see these better this time, let me uncomment that region.
让我们写出代码来吧,好,如果我的电脑能回来的话,好了,那么,我要去写一小块代码,我把它放在这里以期望大家这次,能看的更清楚点。
In fact, let me uncomment it so we can look at it.
实际上,让我把这里去掉注释,以便于我们观看。
All right. I'm going to uncomment that.
好,我要把这里去掉注释。
For the latter, this is a place where running test cases would do a good job of helping with that. Nonetheless, having done that, let's look at a better way to write this. Which is right here it is also, I think, on your sheet, I'm going to uncomment that, and comment this one out, yeah. All right?
对于后者来说,运行测试用例,对它会有很大的帮助,尽管如此,讲完了这些,让我们再来看看更好的,来写这个程序的一种方法吧,也就是这里,我想这程序也在,你们的课堂手册上面,我得先把这里取消注释,然后注释掉这里,是的,对不对?
应用推荐