And if I'm walking down the list, this is probably order of the length of the list s because I'm looking at each element once.
这可能大概就是数组的长度,因为我会遍历数组中的每个元素一次,现在你可能会想,等等,数组已经排好序了。
because you're thinking the guy might be trying to steal your car, put you at gunpoint, hijack you,
因为你会想这个人可能是想偷你的车或用枪威胁你,劫持你,
In terms of talking about the electrons, I wanted to point out that in the book and other places you might see electrons referred to as photoelectrons.
在谈到电子方面,我想指出在这本书,或者其他地方你可能会看到,电子被称为光电子。
So the triple point is liquid solid, gas, all in equilibrium.
气态,固态,三相平衡,你可能会想。
Have they done well? If so, you would say, "Well, they've been investing money over a number of different years.
怎么来评价他做的怎么样,你可能会想,他把钱投资在,不止一年的期间里
And it's--you might think, " "All right. The life of a waiter is not the worst thing in the world."
而这时,你可能会想,“好吧,侍应生的生活又不是这世上最坏的事情“
Yet at the same time, you probably thought "Oh, yeah, well, I did come out pretty much in the place I expected to come out in despite the roundabout way of having gotten there."
但同时,你可能会想“哦,也是,尽管比较曲折,但是我也比预想的收获了更多“
I know you're bugged by my bad humor, but too bad. Maybe you're bugged by this, saying wait a minute, how does this thing stop? This is the kind of definition that your high school geometry teacher would have rapped your knuckles over.
我也知道你可能觉得我的冷笑话很烦,但是很不幸,可能你会觉得这个很烦,你会想等等,这个程序怎么停下来呢?,这就是你们高中几何。
You're probably going to think, "Oh shit, this" instantly your cynicism kicks in and then "Who's this jerk?"
你可能会想,"这人真要命",你会讥笑道,"这个怪人是谁"
You might think -- and this board is -- and you know what, let's use the computer because it will erase more cleanly than chalk.
你可能会想--这个板子是--你们懂得,让我们使用电脑,因为它能比粉笔擦除地,更干净些。
And then you'd expect a third person watching this to say, "Who cares? It's just--They're just doing this because of the coin they flipped."
你可能以为看这个问答的第三方会想,”这有什么关系,谁问谁答,只不过取决于那个硬币而已“
Now that may interest you at the moment, or what you may want to do is to get a printout of the whole day after that.
是不是很吸引人,你可能会想要,把接下来这一整天的结果打印出来
And you are thinking to yourself, "Ok,fine. So university,academia must make itself with action.
你可能会想,“好,学术界要结合实践做研究。
How?" You might wonder.
怎么增加,你可能会想。
You might wonder, well, don't I sort of directly observe it in myself that I have a soul?
你可能会想,难道我自己没有直接观察到我有灵魂吗
You might have thought that showed--didn't Descartes prove to us that that shows--the Evening Star and the Morning Star are two different things?
由此你可能会想,这是不是就印证了笛卡尔向我们证明的,昏星和晨星,其实是两样不一样的东西
Well, I suppose one possible response would be, "You know, you couldn't really do that.
我想可能会有人回应说,你知道,你其实并不能真的那样做
You might think, well, that's just a matter of adding up the goodness of life and subtracting the badness of death and summing whatever it comes to.
你可能会想,不就是把生命的好处加起来,再减去死亡的坏处,然后相加得出一个结论么。
You could think, you have to think earnings are going to go up twelve-fold to get it down to four times earnings, which will take a long, long time.
你可能会想,你必然认为收益会上涨12倍,让它回落到四倍于原来收益的地方,会花费很长一段时间。
Because it says, your program will still give you a value, but it may not be what you intended, and you can't always tell, and that may propagate it's way down through a whole bunch of other computations before it causes some catastrophic failure.
因为这意味着,你的程序依然会返回一个值,但是这个值可能不是你想要的,你可能还分辨不出来,而且这种情况会传播,结果会沿着正果计算过程传播下去,直到产生一个灾难性的错误。
Now, on the one hand you might think, that can't possibly be the right response, the appropriate response.
现在,一方面你可能会想,那不可能是正确的回应,合适的回应。
When you drive along and you see all these commercial buildings, you might wonder who owns them.
当你开车的时候看到一片商业楼宇,你可能会想,这些高楼大厦是谁的
It's mildly paradoxical because you may be thinking, "Alcohol is not inhibitory.
你可能会感到有些出乎意料,因为你也许是这样想的,"酒精可不是什么抑制剂
And we'll see if you try to mess with our functions by providing a string when we want an int, or providing an int when we want a string, you may very well get yelled at and the user will have to retry.
我们可以看到,如果你尝试打乱我们的函数,当想要一个int数时我们提供sting型,或者,当想要一个sting数时我们提供int型,你可能会被吼叫,然后用户不得不重新尝试。
Now, you might think, ? well, didn't we already discuss that when we started thinking about variability?
现在你可能会想,我们不是已经谈过这个了吗,就在我们开始讨论死亡可变性的时候?
They were selling that in ancient Rome, but you might think, but why just for burial?
人们在古罗马时期销售丧葬险,你可能会想,为什么只有丧葬险
You might think, "Look, according to physicalists minds are just brains."
你可能会想,根据物理主义的说法心灵就是大脑
Of course, once you start thinking of it this way, it's natural to talk this way across a variety of things that the computer may be trying to do.
当然,一旦你开始用这种思维方式思考,你就会很自然地把这种思维应用到,电脑可能想要做的其它事情上
OK, so how can I code this up? Well, you might think, let's just jump in and write some code, I don't want to quite do that though, because I want to show you another tool that's valuable for thinking about how to structure the code, and that is a something called a flow chart. Now.
好,那么我怎么把这个以代码实现呢,你可能会想,让我们进去直接写代码把,但是我不想这么做,因为我想教给大家另外一项很有价值的,用来组织代码的工具,叫做流程图,现在,像Guttag教授,和我这么大岁数的人。
应用推荐