Now the question you'd need to ask yourself is how do you know this didn't happen to you last night?
现在你要问自己的问题是,你怎么知道,昨晚你没发生这样的事?
As humans I think our instinct is to want more, you know, not be positive and...
作为人类我觉得我们的直觉是追求更多东西,你知道,不怎么积极,而且……
Right, and just to get a sense of this, let's look at a simple little example, so on your hand-out, you'll see I've got a little piece of code that says assuming I've got one of these points, I want to do things with it, for example I might want to add them together.
这些数组中的一个,你怎么能够知道,它是哪种类型的呢?,你怎么知道它是以笛卡尔坐标,表示的还是以极坐标,形式表示的呢?,你没有可以用来区分的东西,你没有说明这种信息,聚集实际上的意义。
The other two you know are stuff you can add, and you know where you're adding those things, because the particle has a head start.
另外两项是可加可不加的,而且你也知道这两项是怎么来的,因为质点运动是有起点的
But what do you- I want to know what you think. You defend them.
但我想知道的是,你是怎么想的,你是怎么想的,才会为他们辩护。
I'd be interested to know, gentleman down here, how do you do this?
我很好奇,我想知道,下面这位男士,你是怎么听的
I was wondering how you feel about that?
我想知道你是怎么看待这个问题的?
How do you know that your parents, at least one of your parents satisfies the definition? Well I've reduced the problem from am I a natural born US citizen to is one of my parents a natural born US citizen?
这是一个递归的定义,你怎么知道你的父母,至少其中一个是满足天生的美国公民,这个定义的呢?,我已经把我是一个天生的美国公民这个问题?
It says you gave me something I didn't know how to deal.
它的意思是你给了编译器一个,他不知道怎么处理的东西。
You have to know how it came to be.
你得知道它是怎么来的。
You'd pull out your pencil and paper, you can do it as a matrix inversion if you know how to do that, or you can just simply do substitution of one equation into another to solve it.
你知道你在小学的时候是怎么做的对吧?,你拿出你的笔和纸,如果你会的话,你可以解一个方程组,或者你可以单纯地。
You cannot say, "I never heard of it. I don't know where it came from."
你就不能再说,"我从没听说过,我不知道它是怎么来的"
So you can actually say, how do I know which methods are associated with the class? For that, we can call dir. And what it does, is it gives me back a listing of all the things, dir all the methods, that are associated with it.
我们开始建立类了,我们得到了这些方法,因此实际上你可以说,我怎么知道,哪些方法是关联与这些类的?,为了解决这个问题,我们可以调用,这个方法的作用。
应用推荐