And so I would ask you to think about a couple of simple questions as you move through this book, and as you think about what I have to say about it.
所以,我想让大家在继续读这本书时,想出一些简单的问题,并且想想我会对此说些什么。
And I would just request you to stay motivated.
并且我会要求你一直保持激情。
I'm going to come back to that in a second with that, but I need to do one more example, and I've got to use my high-tech really expensive props. Right. So here's the fourth or fifth whatever we're up to, I guess fifth example.
并且我会用到我的,高科技的昂贵小道具,好,这是第四个还是第五个了?,好,我猜是第五个例子了,这是个被称为汉诺塔的问题。
I think maybe in the next year I'll do that to offset I'm bringing in a lot of very successful finance practitioners and I don't have any regulators this year.
我认为也许在明年,我能够做一些补偿,我会引进很多,非常成功的金融开业者,并且今年我没有任何调节器。
I'll cover them of course and go over what I think the key points are, but if I don't discuss the readings in class please don't take that as a sign that the readings aren't important.
我会对其进行讲解,并且指出重点部分,如果有课上没讲到的阅读材料,不要以为这些不重要
And along the way I'm keeping track of how many iterations at the end I'll print how many iterations I took, before I return the final guess.
提到的方法去运行,并且我会跟踪到底,进行了多少次迭代,并在最后返回结果之前,显示进行了多少次迭代。
Computing square root. I'm going to capture it in a piece of code, I'm going to be able to refer to it by a name, and I'm going to suppress the details, meaning inside of that computation, you don't need to know what it does. You just need to know, if I give it the right kind of input, it'll give me back an input that satisfies the contract that I set up.
比如计算平方根,我会用一段代码来说明,我将给它命名,并且忽略细节,意思就是在这一段计算过程中,你不用知道它做了什么,你只需知道,如果我进行了正确的输入,它将会给我符合条件的输出。
应用推荐