One of the advantages of this is, that I don't have to worry about explicitly updating my variable. That happens for me automatically.
这样继续下去,这样做的一个优点是,我不用为更新变量来发愁了,程序会自动的为我进行这个操作,这一点很好。
I don't have to take math ever again, so the people here are like, they are in the class they want to be in the class,
我再也不用学习数学了,所以这里的学生可以想学什么学什么,
But if, at any point, I get to a place in the list where the thing I'm looking for is smaller than the element in the list, I know everything else in the rest of the list has to be bigger than that, I don't have to bother looking anymore.
比当前位置数组的元素要小,我也就知道后面的数肯定,也都比我的目标数要大了,我就不用再继续进行下去了,这意味着目标数不在这个数组中,我就可以退出了。
It solves a slight bug if we don't use it at all, but more on that in the future when you talk about files and creating files.
它解决了一点缺陷,如果我不用它,但是更多的是在以后当你们讨论,文件和创建文件时。
Wouldn't it be nice to be able to go someplace and just for a period think to yourself, "Well, you know, right now I don't have to worry about that.
要是能去那岂不是很好,你能有一段时间对自己说,“你知道,现在我不用担心死亡了。
I think you can figure out the rest.
剩下的不用我提示大家也该知道怎么写了吧。
The power of linearity is F=k1+k2 if I come across f of x, y, z equals k1 plus k2, if it is a linear equation, I don't have to go and solve it all over again.
线性的威力是,一个方程,如果它是个线性方程,那么我就不用再去解他了。
They are just encouraging each other and I stop doing before work in morning, the paper pencil kind of activity because I saw them going right to the computer, and I say,hey, they're learning more from than when they are just from the revision.
他们在相互鼓励,我现在不用在早上,做那些纸和铅笔的活动了,因为我看到他们径直走到电脑那,我想,他们能从那学到的,比从复习中学到的要多。
I won't bother to write it separately for Firm 2, it's going to be the quantity it sells times the price it gets for that quantity, minus that quantity it sells times the cost it incurs in producing that quantity.
我不用另外写公司2的收益了,收益是销量,乘以对应的价格,减去销量乘以产品,的生产成本
so coming to Brown meant I didn't have to take classes like that,
来到布朗大学,我就不用再上自己不喜欢的课程了,
If I'm anonymous, it's not me and I could do terrible things without feeling the same moral responsibility.
如果我是匿名的,那我就不是我了,我就能干坏事,而不用感到有道德责任。
You don't need me to tell you that human civilization is very, very old.
人类的文明是非常非常古老的,这不用我来告诉大家了吧。
I just told you almonds are not a problem, no worries there.
我刚才告诉过你们了,杏仁不是问题,不用担心它们。
You wouldn't think I would have, I don't have -- all right, be that way about it.
你不用担心我需要什么,我不需要什么--好了,先这么做。
Another way of saying it is, anything that uses get float doesn't care what the details are inside or shouldn't, and if I change that definition, I don't have to change anything elsewhere in my code, whereas if I just have the raw code in there, I have to go off and do it.
换种说法就是,任何用到获取,输入这个功能的人不用担心具体的实现细节,如果我改变了这里的实现,我并不需要去改变我的代码,因为我的最底处的源码就在这里,我去改这里就可以了。
There is this include which allows me to include code, source code so to speak that other people wrote so I don't have to figure out for myself how to print things to the screen.
这个“include“可以让我加进一些代码来,比方说其他人写的源码,这样我就不用自己解决,如何在屏幕上输出了,别人已经为我解决这个问题。
There will in fact never be a good time to try something new, and there will actually never be a semester where you do have that more time.
实际上我已经没有机会尝试新事物了,而且也不用过学期了,但你们有更多的时间。
If I decide there's a better way to get input, and there is, then I can make it to change what I don't have to change the code that uses the input.
如果我觉得有更好的获取输入的方法,我可以直接改去用这种方式,而不用更改使用了,输入处的代码。
It means anybody using that little function get float doesn't have to worry about what's inside of it. So for example, I decide I want to change the message I print out, I don't have to change the function, I just pass in a different parameter.
这代表着用这个方法去获得浮点数,的任何人都不用担心具体的实现了,例如,如果我想改变下,显示的信息的话,我不必去改变方法,我传个不同的参数就可以了。
Computing square root. I'm going to capture it in a piece of code, I'm going to be able to refer to it by a name, and I'm going to suppress the details, meaning inside of that computation, you don't need to know what it does. You just need to know, if I give it the right kind of input, it'll give me back an input that satisfies the contract that I set up.
比如计算平方根,我会用一段代码来说明,我将给它命名,并且忽略细节,意思就是在这一段计算过程中,你不用知道它做了什么,你只需知道,如果我进行了正确的输入,它将会给我符合条件的输出。
Other than that interface.
我就不用更改任何东西了。
Let me qualify that lesson slightly, unless you're German.
我来简单证明一下,德国人就不用听了
I will be also making them available at Allegra for people who would like to just purchase them already printed out so you don't do it yourself, but I know some people really prefer to work online--and certainly for the first week of reading, you can get started because it is online.I don't think things will be available at Allegra's until probably tomorrow afternoon.
我也同样会让这些书的纸质版,能够出现在学校书店这样喜欢读纸质版的同学,就不用到处去买了,但我知道有一些学生更喜欢,在网上阅读,当然第一周的阅读材料都已经放在,放在网上了你们可以开始阅读,所有的阅读材料,在明天下午后都能在学校书店里买到。
Now we can do the same for Player II, we can draw Player II's best response as it depends on the choices of Player I, but rather than go through any math, I already know what that line's going to look like.
同理也可以画出参与人II的图像,参与人II的最佳对策,取决于参与人I的策略,不用任何数学的方法,我就知道图像是什么样的了
应用推荐