Have the computational hygiene, if you like, to only go through accessors, only go through methods that are actually provided to you as you do this.
请大家注意计算卫生,如果你喜欢这么说的话,只通过访问器访问数据,当你访问数据的时候,通过提供给你的方法来访问。
I know you want me to tell you about his secret, but I won't.
我知道你想让我把他的秘密透露给你,但是我不会这么做的。
What it does for him is allow him to buy his aunt this symbol of a middle-class American domesticity, and he is a happy participant in this new purchase.
这让他能够给阿姨,买这个美国中产阶级家庭生活的象征物,而他也很高兴能这么做。
This is just a little inelegant and so one of the things we'll introduce early on is this idea of abstraction or design whereby if you wanna represent the ideas of 0 and 1, true or false, well, let's give them a synonym like true or false.
这么说有点粗野,我要接着讲的是这种抽象的思想,或者用这个来描绘设计出,真和假的思想,我们可以给真假各指定一个同义词。
Now let me spend just a second to say, what was this actually doing?
如果我在这里这么做-啊,它返回给我了值?
You have to form some kind of balance in your life and not let anyone demand a hundred hours a week of your time If they do, you should sell the stock they give as soon as you can and diversify.
你必须形成一个平衡在你的生命中,不能使任何人让你,一周工作一百个小时,如果他们这么要求了,你应该以最快的速度,把他们给你的股票卖掉然后转业。
And I'm very interested in what happened in the French suburbs two years ago; in fact, I wrote an instant article on it for an encyclopedia because some of the work I'd earlier done was about why French suburbs and European suburbs are different than American suburbs.
我对两年前,在法国郊区的事很感兴趣,其实我当时就给一个百科全书,写了一篇文章,因为我以前研究过,为什么法国和欧洲的郊区,与美国郊区有这么大的差别
Yes, but predicting what he does versus what Clinton will do or Bush is a bit too much noise Nobody would have predicted George Bush So Bill Clinton was right, voting for Barack Obama would be a roll of the dice?
我倒是想,但是要预测他的政策,比起预测克林顿,或者布什,太不靠谱了,当时谁又会想到乔治·布什是这样的总统呢,这么说,看来比尔·克林顿没说错,他说,给奥巴马投票等于在赌运气,是吗?
I guess it's very difficult to distribute the spaces for so many students.
我想把空间分配给这么多学生很难。
Now, admittedly they've got this little piece of cloth that gives them a decent chance of not killing themselves when they jump out of airplanes.
现在,必须承认他们有这么小小的一片布,给了他们一个当他们跳下飞机时,不会死的足够的可能性。
I appreciate the opportunity to speak with you and also to have been a part of this beloved community for these many years. It's been a privilege and an opportunity for me to think more about what the next chapter of my life will bring.
感谢能有这个机会和你交谈,也感谢能成为这个可爱的群体中的一部分,这么多年了,在这儿有种推力,也给了我一个机会,让我更多地思考,我人生的下一章会带来什么。
And I guarantee you if you do those three things throughout the course that you'll do well in the course and I've said this almost every time I've given the course and nobody has ever told me that I'm wrong.
如果你们做到了这三点,我保证你们会在这门课中取得好成绩,每次开课前我都会这么给学生说,从来没有人告诉我这个说法有问题
Let me--I said earlier that investment banking seems to be a great interest of students at Yale; that's because they get some really great jobs there.
我原先说过银行投资业务,似乎对于耶鲁的学生有着强大的吸引力;,原因是学习这么课程能给大家能找到高端的工作。
And it's not a la-di-dah thing where--I'll tell you, once there was a student in there who had really fantastic French and I said, "Why is your French so good?"
其实也不是那么严格要求的,我给你们讲,以前有个学生法语特好,我就问他你法语怎么这么好啊
Just to give you an example of that, for instance, I can do the following: all right, the number four is less than 4 the string three, whereas the string four, oops, is not less than the string three.
仅仅是给大家看一个例子,例如,我可以这么做:,好,数字4比,字符串3要小,而字符串,比字符串3要大。
And towards that end to give you a sense of the size of the support structure in place for this course, this is the size at the moment of CS50's staff inclusive of teaching fellows, course assistants, myself, as well as folks who help with our video production and the like.
为达到这一目标,我们让大家了解下这门课的辅助,在CS50进行的时候,有这么多人会给我们提供辅助支持,其中包括教学研究员,课程助理,我,以及帮助我们制作视频的等一些人。
If you give me a number and a string, I'm going to concatenate them together, it's really different operations, but nonetheless, it's what it's going to do.
如果给的输入是一个数字和一个字符串,我将会把它们连接在一起,这实在是不正确的操作,但是无论如何,它就是会去这么做。
And this is now a program that's web based, it's SMS based, it's voice based and it used to be Linux based as you'll see in a couple of weeks and it's just a program thatlet's you click where you are, click where you wanna go and voila, here are the next several shuttles that you can take.
这个程序现在是可以用网络访问的,可以用SMS的,可以用语音访问的,而且它曾经是Linux下的程序,你们几周后就会看到,它是这么一个程序,你可以点击确认你现在的位置,然后点你想要去的位置,然后程序会返回给你你能做的班车。
And so what you say is, " "Don't show me the envelope."
所你这么说,“别给我看那个信封“
应用推荐