I know it looks like a simple and silly little example, but at the moment, I still have the ability to go in and change the values of the parameters by that little definition.
很简单的有点儿蠢的例子,但是现在,我还是可以通过,一个简单的定义声明,来进去改变参数的值,这样就没意义了,这是因为我并没有用一些。
And that changed my mind quite a bit about what I wanted to do with my life.
这样的经历也改变了我对未来的规划。
Because I could've built that in, it says if you change the value of this thing, by the way you need to change recompute those other values in order to make this hold up.
我想要大家通过定义好的方法,来改变实例的值了,因为我可以把这个功能,内置到方法里面去,它的意思就是如果,你改变一个值。
The two white sisters who really have magnificent teaching skills, and made a fundamental difference in my life.
这两位白人修女教书特别棒,她们让我的人生产生了根本的改变。
My path in life was fundamentally altered by just a handful of courses at this place and this was in fact one of them.
在哈佛所学的一些课程,从根本上改变了我的人生道路,这门课就是其中之一。
That's a physical process that causes some sorts of changes in the mental processes occurring in my soul.
这是一个物理过程,它造成了,我灵魂中心灵过程的改变
I think one reason why they may have changed it in 2003 is that interest rates were getting really close to zero in 2003.
我认为其中一个,为什么他们在2003年改变了它的原因,就是利率在2003年真的快要接近零了。
I feel that I've fallen short of my potential " to really make a difference."
我觉得我能改变世界的能力,越来越弱了“
The fact that I changed the other guy's payoffs didn't matter here.
别人的收益改变了但对我的没有影响
There are so many ways in which that has changed the world, but I can't do justice to it but Hanson does, so if you want to read, fields Without Dreams, you can ponder the significance of this great change.
有太多改变这个世界的因素了,我很难全部都客观地讲出来,但是汉森可以,你可以在《遗梦之野》中有所了解,你可以仔细琢磨这些伟大的变革
Living there absolutely changed my life. The city is so alive,
居住在纽约确实改变了我的生活。这座城市真是充满活力,
It's now got a different radius, same angle, so I just changed the radius of it.
我刚刚改变了它的半径,噢,但是对于笛卡尔形式来说。
He was the kid who was covered with mud for seven days, He said, "It doesn't look the same to me anymore, I think there were sort of spiritual awakening for him during that.
当时,他还是个孩子,远足的七天里,他浑身是泥,他说:“我对风雨的认识有了改变,可能在这次远足中,他有了灵性上的觉醒。
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.
换种说法就是,任何用到获取,输入这个功能的人不用担心具体的实现细节,如果我改变了这里的实现,我并不需要去改变我的代码,因为我的最底处的源码就在这里,我去改这里就可以了。
Unencumbered by, I guess, the conventional wisdom, we started out at Yale on a path that I think is--fundamentally that changed the way that institutions manage portfolios.
抛开惯常思维和传统做法,我们在耶鲁开创了一条新路,一条我认为,从根本上,改变了机构投资管理方式的新路
Suddenly the vision begins to transform and he begins to hear the voice of Paul, "Thrice was I beaten, twice was I imprisoned, in shipwrecks often, in peril often."
突然之间,视觉的幻想开始改变,他听到了保罗的声音,“我被人打过三回,囚禁两次,经常受苦受难“
And remind you that inside of here, I'd better be changing the variable. All right, if that variable that's counting is not changing I'm going to be stuck in an infinite loop, so I ought to that, right, expect somewhere in there, a change of that variable. All right?
我最好改变了计数器的变量值,好,如果计数的变量没有变化的话,我就会被卡在一个无限循环里面,因此我应该【不可闻的声音】,对,在这里的某个地方,改变下计数器的变量,对不对?我要做的最后一件事情就是?
And my values change.
我的价值观也改变了。
A bold claim would say, "The facts about death, if I thought about them, would change my behavior, but not because it would give me a reason to change my behavior-- " simply because it would influence my behavior."
一个大胆的观点会认为,“关于死亡的事实,如果我考虑了它们,就会改变我的行为,但不是因为它给了我改变行为的理由-,只是因为它影响了我的行为“
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.
这代表着用这个方法去获得浮点数,的任何人都不用担心具体的实现了,例如,如果我想改变下,显示的信息的话,我不必去改变方法,我传个不同的参数就可以了。
I didn't have anything in there that says, if you change one of these values, other values depend on it, and I want to make that change to it.
这样就对了,因为我在代码里面,没有任何的东西说,如果我改变了其中的一个值。
Because in your mind you're putting tickets and cash in different mental accounts, the mental account "Tickets" generates an emotional feeling and it changes my action-- that I lost in that account.
因为在你的心里,你会把票和现金,归为两个不同的心理账户,票的那个账户“,产生了一种感性的情绪,这种情绪改变了我的行为-,让我觉得迷惑。
I have to change the prototype of this function to say that swap no longer takes an int per se or another int per se, but rather it takes two pointers, two ints, and in fact, it's on the very last page if you're still flipping.
我改变了这个函数的原型,来说明swap不再携带那两个int数本身,而是携带两个指针,两个整型数指针,实际上,它是在最后那页上。
Instead I'm going to be expecting the address of some int and the address of another int and thanks to this address I can literally find this address in RAM, do anything I want there, -- return and what I've just done is actually changed or mutate the values of those original variables.
我们所期望的是int型地址,和另外一个int型地址,幸亏这个地址,我可以找在RAM中找到它的地址,然后做我想做的事情,返回我处理后的东西,我可能改变了这些源变量。
应用推荐