We know that two vehicles are going to come along and not help Tony and that the third vehicle will, because everything, as I say, happens in threes in folklore.
我们知道有两辆车会过来,而且它不会帮助托尼,那么第三辆就一定会,因为,我说过,在民间传说中什么都只发生三次。
One way to think about it, if we want to use a classical analogy, which often helps to give us an idea of what's going on, is the spin of an electron, we can picture it rotating on its own axis.
如果我们用一个,经典的比喻来考虑它的话,这经常会帮助我们建立起一些概念,就是我们可以把电子的,自旋想象是它绕着轴自转。
Well, you'll know when it crashes, that doesn't help you very much, but you can't always tell whether something's stuck in an infinite loop or whether it's simply taking a long time to compute.
好,你将学到它在什么时候会崩溃,这对你帮助并不大,但是你不能辨别出到底是在一个循环中,有什么东西卡住了呢,还是程序需要很长的时间来计算一个结果呢。
For the most part there's a little bit of difference between products and that's actually going to--that is, if we inject that little bit of realism into the world-- it's actually going to help us.
在大多数情况下产品会有一点不同,并且那实际上将,就是说,如果我们加入一点真实性,它会将帮助我们
We're checking the end test and incrementing, actually I was going to, I commented that out for a reason you'll see in a second, but I, normally I would keep this on, which would let me, at each step, see what it's doing. If I ran this, it would print out each step. Which is helping me make sure that it's incrementing the right way.
对不对?进行终结测试然后递增,实际上我要,因为某些你们,马上要明白的原因我把这里注释了,但是我通常会一直这么做,这样能让我看到每一步都做了什么,如果我运行这个程序,它会在每一步都,进行显示,这能帮助我让我确信程序是,在以正确的方式递增。
The system will help you find it.
这个系统会帮助你们找到它。
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?
对于后者来说,运行测试用例,对它会有很大的帮助,尽管如此,讲完了这些,让我们再来看看更好的,来写这个程序的一种方法吧,也就是这里,我想这程序也在,你们的课堂手册上面,我得先把这里取消注释,然后注释掉这里,是的,对不对?
应用推荐