All right. I was going to do one more example, but I've run you up to the end of the time.
好,本来想再讲个例子的,但是我想该下课了。
And you've asked several people on the street . "I just can't get there! I don't know where I'm going!" and
你在街边向几个行人问路。“我没法找到目的地了,我不知道该怎么走!”
I asked each of them to bring a book that had informed that question for them, inside or outside of the classroom that they had read or what in Princeton.
我让他们每人带一本书来,这本书该为他们提供了对这个问题的提示,只要是他们在学校里课堂内外读过的都行。
My watch was dissembled for a period of time, perhaps we should say my watch didn't exist during that period of time.
我的手表在修理的时候消失了,我们或许该说我的手表,在修理的那段时间,并不存在。
Next time I'll tell you more about the coming weeks but I think you'll lunch is anyone who has a card for me to sign?
下次,我会告诉你们更多关于接下来几周的事,我想你们该吃午餐了,有人带了卡给我签吗?
Sorry, a slight misstatement, OK?
我就该跑去办公室了?
Do you think I should neck or not? I shall not enter the kingdom of heaven anyway so I don't see what difference it makes.'" And then she writes back, Mary Brittle: "Dear Sabbath: Light necking is acceptable, but I think your real problem is one of adjustment to the modern world.
你认为我是该做还是不该做,我反正都上不了天堂了,因此,我认为做不做都无所谓,之后她给她回信了,玛丽-巴瑞特,亲爱的萨巴斯,你的做法是可接受的,但我认为,你真正的问题是无法融入现代社会。
I guess, I, I think the reason I did is because about the time to do it is college, I think.
我想,我认为我这么做,是因为大学该是时候这么做了。
I'm coming at this guy and what I want to do, if I can, I want to kill him.
我面对这个家伙,我该怎么做,如果我可以,我就杀了他
If you want to know something like when do you hit the ground, I think it's fairly clear what you have to do.
如果你想知道车子何时落地,我想你该做什么就很明显了
When you get exposed to that particular antigen they say, 'I'm on, it's my time'.
等到你暴露在特定的抗原中,它们说,该我了,到我大显身手的时候了
You want to change your diaper right now so stay still."
现在该换尿布了,给我老实点"
On that grim note I think I'll let you go
我想我要该让你们下课了
Others though, I want to tell you that it doesn't-- if you're shopping-- I had a student come by yesterday and ask he's a little rusty in his math skills if he should take this course.
其他的,我想告诉你们不必...,如果你还在挑选课程...,昨天有个学生来问我,他的数学有点荒废了,他该不该选这门课
but I think I'm going to be, um, I'm double concentrating in economics and religious studies.
不过我想我该做出选择了,目前我在学习的是经济和宗教方面的内容。
My teacher is going to be so mad at me.
老师又该冲我发火了。
And we need not, we just make sure we can't do that So, go ahead, we've got you on number The 1980's and 1990's, this deal seemed to work.
这一点我们必须明确,那么。。。说吧,该给的数据我都说了,其实,八,九十年代那会儿,那个协议还是起过作用。
What do I wanna now do?
我现在该做什么了?
Oh, I'm not sure what the word for this is."
噢,我都不确定我该用什么词来描述它了。”
I think you can figure out the rest.
剩下的不用我提示大家也该知道怎么写了吧。
But if it is not, it's going to print out a message here saying, you screwed up, somewhat politely, and it's going to go back around. So it'll just cycle until I get something of the right type.
但是输入不是浮点数的话,我这里就会显示一个消息说,你搞砸了,该稍微有点礼貌吧?,然后我们继续执行循环,一直到得到正确类型的输入。
How do I sustain myself when things don't go the way I planned?"
当事情超出了我的预测,我该怎么继续下去?“
And what do I do if I get a key error?
如果我得到了关键字错误该怎么办呢?
Now, I've talked to you essentially about the economic aspect of this phenomenon and I'd like to turn next-- give me a second here I just want to find out where I am in this.
至此我已经基本上给大家,讲完了这一现象的经济意义,接下来,让我想想,我们该讲什么了
OK. We wanted to finish up that section, we're now going to start on a new section, and I want to try and do one and a half things in the remaining time. I'm going to introduce one topic that we're going to deal with fairly quickly, and then we tackle the second topic, it's going to start today, and we're going to carry on.
我们该结束这一段了,现在我们要开始新的课程,我在接下来的时间里要做1。5件事情,我首先会很快的对一个我们,要学习的课题,进行一个介绍,然后再进入第二个话题,今天我们只是开始这个话题,以后还要继续讲。
Which is sort of the question we'd immediately like to ask. Instead, I asked why did it produce the result it did. So I'm not asking myself what's wrong? Or how could I make it right?
其实这个问题我们马上就要问,我问了为什么它会返回这样的结果,因此我并没有去在意哪儿错了,或者我该怎么改正它,我在意的是它?
And his answer was, "Well, when my father sent me here, he told me a number of things that I'm supposed to do, but the most important of these was the Greek words, aien aristeioi, always be the Best.
他的回答是,"当我父亲把我送到这里时,他对我说了,我该做到的几件事,而其中最重要的就是,用古希腊语说"aien aristeioi",事事为先
What is this? This is a wonderful piece of abstraction. It is saying, you don't need to know squat about what's inside the body of this function. You don't have to worry about the parameter names, because they're going to be preserved, you don't need to worry about how I'm doing it, this tells you how you can use this, in order to use it correctly. Of course, I can then close it off, and off we go.
但是这能告诉你一些信息,这是什么?,这是一段完美的抽象,它的意思是你不需要知道,这个函数的内部构造,你不必担心参数是否重名,因为它们已经被预存了,你不需要担心我如何使用它,它告诉了你你该如何操作,从而正确的使用它,当然我也可以把它关掉。
But notice what this does. The first thing it does is, it says, let's check and make sure x is greater than or equal to 0. If it isn't, notice what's going to happen. None of that block is going to get executed, and it's going to come down here and print out a useful piece of information, which says, hey, you gave me a negative number. I don't know how to do this.
做的是和以前一样的事情,但是注释它做了什么,第一件做的事情就是,程序说,要去检查并且确信x是大于等于0的,如果不是的话,请注意会发生什么,下面的代码都不会被执行,程序会到这里来然后显示一些有用的信息,信息会说,嘿,你给了我一个负数,我不知道该怎么弄这个了。
应用推荐