It's going to let us bury away the specifics of something, and treat that computation like a black box. And by black box, I mean, literally behaves like a mysterious little black box.
通过抽象我们可以将一些细节,掩埋起来并将这一段计算当成黑盒,说到黑盒我的意思就是,字面上的像一个神秘的小黑盒。
and literally beg you for whatever they want like, if it's money, something to drink, food.
求你给他们一些东西,钱、喝的、食物,什么都可以。
So things break if you try-- if the computer tries to take you too literally so it would not be correct generally to do something like that.
如果你把它分开-,那么电脑会逐字逐句地解析,你拆开写的代码,由此得到的结果一般都是错误的。
Well, you don't literally mean that somebody rewarded you, like gave you pellets and stuff.
你并不是想说某人会奖励你,比如给你点吃的或是奖品。
If we only ask these questions, we will miss,literally miss an important part of reality, just like you missed the children on the bus in the exercise.
如果我们只问了这些问题,就会错过现实中很重要的部分,像你们在练习中没看到公车上的孩子一样。
At this point in the story both s1 and s2 are literally pointing at the same location in memory so that's now what the story looks like.
在这里,s1和s2指向的是,内存中同一个地方,这里看起来像什么?
And it feel like really this is just one of those like games the magicians play in the square where you are literally moving the cups around accomplishing nothing other than confusion - with the audience but-- which may actually be the case-- but, I argue that this is actually better.
看起来这就是一种,魔法师在广场中玩的游戏,在这个游戏中你只是逐个地移动杯子,除了让观众觉得困惑,其实什么事都没做,-但事实又是什么呢-,实际上我觉得不仅仅如此。
It's a picture that, again, is literally like this.
一个这样的图画。
> So now that might not have felt like the fastest algorithm but think about what you could have done with that algorithm in each iteration, much like the phonebook up front here, you literally split that problem in two because on each iteration roughly half of you were sitting down and then another half and then another half.
虽然这并不是最快的算法,但如果把这种算法每次迭代,就像刚才查电话簿一样,你便将这个问题一分为二了,因为每一次迭代后只有一半坐下来,以此类推。
应用推荐