OK. One of the other things you're going to see is that some of the operators have odd meanings.
好,你们会学会的另外一件事情,是一些操作符,有很奇怪的含义。
But then I was also at Hilary Sunday School of my present Baptist church You have all of this comes together.
但是我同样还在另外一所主日学校打工,总是能同一时间做好几件事情。
The other thing you want to do is find the part of the program that is most likely at fault.
你们要做的另外一件事就是找出,最可能出错的那一部分代码。
If something is true do this, else something is true, do that.
如果某些条件是真的,就做这件事,否则另外一些条件为真的话就做另外一件事。
The other thing I want to let you know is that instead of having a new problem-set that you'll be assigned this Friday, what we'll do instead is we'll give you some practice problems, and these will be just more of the same type of problems that you saw before but that's another chance to try them out more.
另外一件我想要告诉大家的是,这周五将不会像往常一样,给大家布置新的作业,而是给你们一些练习题,这些题目只是另一些跟原来同样类型的习题,你们应该都已经见过类似的,但这是尝试再次解决这类题目的机会。
Think about that. That says, if this thing has some particular value, I want to do one thing; otherwise, I want to do something different.
考虑考虑,这意味着,如果这个事情有一些特殊的值,我就去做一件事情;,否则的话,我就会去做另外一件事情。
OK. You can see that thing is cutting down the problem in half each time, which is good, but there's one more thing I need to deal with.
这很棒,但是我们还需要处理另外一件事情,让我们仔细来看看,我在开始做之前一直在说,应该先试验试验。
And I'm going to do this because, as Professor Guttag noticed to me, students seem reluctant to do this.
另外一件十分有用的事情就是去模拟代码,我之所以要这么做,是因为Guttag教授,提醒过我,说学生们不是很情愿来做这个。
Another good thing to do when you're really stuck is walk away. Take a break. Come back and look at it with fresh eyes of your own.
当你卡住的时候另外一件有益的事,就是走开休息一会儿,再回来看代码的时候你的眼睛就清醒多了。
OK. The other thing I want to say here, is that this style of program we just wrote is actually a very common one. And we're going to give it a nice little name, often referred to as exhaustive enumeration.
好,另外一件我想说的事情是,刚才我们写的代码的风格,是非常普通的,我们会给这个风格一个名字,通常是被称为详尽的列举。
应用推荐