I'm not going to do it for you, but what would I think about doing when I change the code?
要改变代码应该做什么呢?,我不会帮你们做这些,但是我在改编代码的时候会想什么呢?
I chose English Literature because when I started off a university, I didn't know what it was I wanted to do.
我选英语文学是因为当我刚上大学的时候,我不知道自己到底想做什么。
Because the first time I wrote the program, I didn't have anything like that here and a stock could go to and then recover.
因为我第一次写这个程序的时候,我什么也没有,一只股票可以等于0然后再恢复。
Now why--and here is the question why do we get this nervousness about the relationship between what I know and how I know it arising at this moment?
问题是,为什么那时候我们对,我知道什么和我如何知道的关系如此神经紧张?
So, I'll just fast forward through that, but look the point really I was trying to make, is there anything else inappropriate here?
所以,我就很快地使用了那个软件,我正要使用的时候,这里有什么不恰当的地方不?
And then I started to say, I'm studying ethics, what are the ethics have we treat the animals.
我对自己说,我是学伦理学的,我们对待动物的时候有什么伦理道德呢?
Even on the body view,the fact that I exist isn't good enough, ? because I'm not alive.I want to know,when am I alive? When am I dead?
即使从身体理论的角度,我存在并不不足够,因为我并不算活着,我什么时候活着?什么时候是死的?
Anybody have an idea? What's the one function of state? I'm the system, the rest are the surrounding. What's the one function of state that's constant when I'm doing all my chemical reactions to move my arms around?
态函数又是什么呢?,我是一个系统,其余的是周围的环境,那么当我在做所有的化学反应,去四处移动我的手臂的时候,什么量是常数?
And then our drop date is normally, I'm not exactly sure when, but it's actually probably in November,
然后退课的日子通常是,我不确定什么时候,不过其实大概是十一月,
But yeah, most of the time I'm just working out with pull-ups and whatever else there is here.
不过大部分时候我就是做做引体向上还有这里的随便什么。
And just when you wake up, think, "Right, what do I want to wear today?"
当你醒来的时候,会想,“对了,今天我想穿什么呢?”
learned English, came here not knowing really anything other than "Hi, how are you?"
学了英语,我刚来的时候,除了“嗨,你好吗?”什么也不会。
Please don't anybody tell me late - any time after today you didn't know when the mid-term was and therefore it clashes with 17 different things.
所以以后千万别跟我说,你不知道什么时候期中考试,然后还在考试那天安排大一堆事儿去做
Some of you are probably going to be doctors and you don't know why I'm going to do special relativity or quantum mechanics, but you don't know when it will come in handy.
你们中的有些人可能会成为医生,但你们现在不能理解,我为什么要讲相对论和量子力学,但是说不定什么时候,你就用上了呢
Now, I don't know how far back it goes but it must be that in ancient times some people would say, all right you're going to be doing more work or you're contributing more to this enterprise, we'll give you a bigger share of the profits.
我不知道这能追溯到什么时候,但在古时候肯定有人说,好吧,你比别人干得多,你对公司的贡献更大,我们会把收入的大头给你
I can only imagine though, at this point in the semester, what will become Milton's eventual championing of marriage is pretty hard to imagine, in part because we're just devoting our second class to a literary work given almost entirely to the virtue of chastity.
然而我只能认为,在学期的这个时候,什么将成为弥尔顿婚姻的最终捍卫者,一定难以想象,一部分是因为,我们的第二节课一直在讨论,关于贞洁的美德的作品。
So, I encourage you to do that the next time you have some free time on your hands, maybe at IAP or some time like that.
下次你有空余时间时,我鼓励你去看一看,也许在IAP或者什么时候。
And it has an end test, something that tells me when I'm done and what the answer is.
还有一个终极测试,告诉我什么时候,完成和最终结果。
So when someone comes to me, and they're about to do a test, I ask them, what do you expect your program to do?
因此当很多人找到我想要,做一次实验的时候,我问他们你期待你,的程序返回什么结果呢?
Or, said a different way, what's going to happen when I run it?
或者,用不同说法来讲就是,当我运行它的时候会发生什么?
What makes it true that I killed him is that on Monday I shot him and on Wednesday he died from the wound That's what makes it true ? But when did I kill him?
我杀死他是真的是因为,星期一我开枪打了他,而星期三他因伤去世,这就是为什么是真的,但我什么时候杀的他?
So I just have to see, oh, here's a D, let me keep looking, D here's an A, keep looking here's a V, here's an I, here's a D and yet, and this is one tidbit we introduced a week or so ago, how do I now know if I'm just given the address of the start of the string where the end is?
我只需要看到,哦,这里是一个D,让我接着往下看,这里是A,接着这是V,这是I,这是,然而,这是我们一周以前介绍的花絮,如果你给我一个字符串开始的地址,我怎么知道它什么时候结束?
Whenever I think about how to build an interesting program, and I hope whenever you think about it, the first thing I think about is, what are the classes I might want to have, what are the types?
无论我何时,去想怎样建立一个有趣的程序,你们每次做这种思考的时候,你们想得第一件事,就是我应该要有什么类呢,它们是什么类型的呢?
So I want to welcome you, I really want to invite you, whenever you've got some reactions to the things that I'm saying, raise your hand, I'll call on you.
所以我欢迎你,我真的邀请你,无论什么时候,你对我所说的有回应,举起你的手,我会叫你的。
So the very last two lines of code I'm saying this, s2 the original string is s1, the copy of the string is s2, but if I haven't lost you, what are we really going to see when we print this?
最后两行代码是这样的,原字符串是s1,那个字符串的拷贝是,但是如果我没有忘记,当我们打印的时候,我们将看到什么?
So I didn't kill him on Monday didn't kill him--rather on Wednesday I didn't kill him on Monday didn't kill him on Wednesday when he dies ? When did I kill him?
所以我没有在星期一杀死他,更没有在星期三杀死她,我没有在星期一杀死他,没有在星期三他死的那天杀死他,那我什么时候杀死的他?
well,look,if the relevant question is When do I die?
如果问题是,我是什么时候死去的?
After all, when is a headache bad for me?
毕竟,什么时候头疼对我来说有坏处?
When I run it, what's going to happen?
当我运行它的时候,会发生什么?
When do I die and what is death?
我什么时候死亡,什么才是死亡?
应用推荐