I think you should take the lab sometime, but I don't know how many semesters that you have to take.
我觉得你们应该是不是地去做几次实验,我不太清楚你们要上多少个学期的课
It depends on like, depends a little bit on like if you have time to take a class or so.
这要看,这有点要看你是不是有时间上课。
If I'm going to make insulin from this I have to know that I've got the introns spliced out correctly.
如果我要用这些来生成胰岛素,我就得知道是不是把内含子都准确剔除了
And the last thing we do for any of our structures to check them and figure out are these valid or not valid, are these good Lewis structures is to check the formal charge.
而为了检验任何一个结构是否有效,看它们是不是好的路易斯结构,我们要做的最后一件事就是检查形式电荷。
The answer lies in, if only we could know is that the same hunk of stuff or not.
要知道答案,我们就要,我们就要知道是不是同一块东西。
And that you might look at, for example, that first example, and say, man by this stage it was already sorted, yet it had to go through and check that the third element was in the right place, and then the fourth and then the fifth and then the six.
你可能会去看看例如第一个例子,然后要抱怨,到这里,它已经是排好序的了,但他还是得去遍历查看,第三个元素是不是在正确的位置,然后第四个,第五个,第六个。
But when you start writing programs, especially when we get to web-based stuff where you want -- to check the user's input -- is it valid, is it an email address, -- and all these different scenarios -- it's actually often useful to be able to just enumerate them or rattle them off using this switching construct instead.
但是当你看是写程序时,特别是当我们,使用基于网络的东西,你想要,检查用户的输入-,它是合法的吗?它是不是一个电子邮箱地址?,所有的这些场景-,实际上它常常是有用的,当你用枚举结构列举它们,或者用它来快速地来说出它们。
It all sort of depends on how you hit it off with somebody, whether there's a spark.
这要看你是不是跟那个人合得来,能不能擦出火花。
Is this something you always grow up saying, "I wanna be a philosopher when I grow up."
您小的时候是不是常常说,“等我长大了,我要做一个哲学家“
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.
是不是很吸引人,你可能会想要,把接下来这一整天的结果打印出来
But whether that's an aberration, or that it's a new trend is still too early to say right now whether we're a new growing trend or not.
但究竟这是意外现象,还是一股新趋势,要下定论现在还为时尚早,我们还无法确定这是不是新趋势。
I don't know, whether you guys are going to hang out all the time
你是不是要在外面闲逛而给室友带来不便,
The other thing I wanted to mention and I'm not sure if the exhibit's still there.
另外一个我想要指出的事情就是,我不确定它是不是还在展出。
What else might we want to see, to see if we got things working properly?
我们还希望看到什么呢,要看看我们的程序是不是正确运行的?
And those are two things that you'd like to do with every looping construct you write: you'd like to be able to assure yourself that they will always terminate, and then the second thing you'd like to do, is to assure yourself that it does give you back a reasonable answer.
就是现在我有了能去检查程序,是不是做了正确的操作的能力:,这就是你们在写每个循环程序的时候,都要注意的两个事情:,第一件事情是要确保程序可以终结,第二件你要做的事情,就是要确保程序返回了正确的答案。
So I'm going to check to see if- really can't read that thing, let me do it this way-- right, I'm going to increase the number of compares, and I'm going to check to say, is the thing I'm looking for at the i'th spot in the list?
让我们这样做吧-好-,我会去增加比较次数的计数器,然后去看看在第i处的元素,是不是我要找的呢?,这里s的意思就是,给定数组的?
Some people like to use shallow and deep, object and value, but they're talking about the same thing, which is it the same object or is it the same, in this case, set of values, depending on what you want to define as you use it.
有些人喜欢用对象相等值相等,但是它们是同一件东西,也就是是不是同一个对象,或者是不是同样的,在这个例子中,是同样的值集合,这取决于当你使用它的时候,想要怎么来定义它。
Now I am going to take some time to think about whether or not harmony is a good analogy, because I actually think it is a good analogy.
现在我要花点时间思考,和声是不是个好的类比,因为实际上我觉得它是个好的类比。
We'll test our hypothesis, or at least examine it again see if it's, in some sense, repeatable.
我们要测试我们的假设或者至少再检查一下,让我们看看它的结果是不是可以接受的。
p1 But if I say, are p 1 and p 2 the same point, it says yes.
和p2是不是同一个点,It,says,no。,返回的结果是肯定的,在这里我有个要强调的点,这个例子里发生的是。
So another way saying it again is, when I call the class definition, by default I'm going to look to see is there an init method there, and if there is, I'm going to use it.
当我调用类的定义,默认的是语言要去查看,是不是有个init的方法,如果有的话,程序就会调用它,按照惯例。
应用推荐