This combining of data and functions on that data is a very essence of object-oriented programming That's really what defines it.
数据与函数的结合,是面向对象编程的核心,这也就是它的定义。
Remember, this is pattern that we use when the question relates specifically to the person you are speaking with.
记住,我们使用这个句型时,所提的问题仅仅针对谈话的对象。
So that's the key thing to-- to realize; that what the assignment did was have two separate paths to the same object.
认识到赋值会造成两个独立的绑定到;,同一对象上这件事情很关键,因此我可以通过这一条或者。
They are creatures of majesty and dignity And they are of importance to, objects of concern for, the god who has created them.
他们是庄严而有尊严的生物,他们也非常重要,是关怀的对象,被那些创造他们的上帝关怀。
Now, people are studying obese subjects because there're weight loss programs, like the one we had, and the subjects are available.
现在人们开始以肥胖者为实验对象,因为有许多减肥的项目,肥胖的实验对象是较容易找到的
I mean, obviously it's different because it's about something different, but I mean in terms of the Game Theory it's different.
很显然二者的研究对象不同,但是我是说二者涉及的博弈理论也不同
Ideally, life insurance is insuring people-- or fire insurance is insuring people-- against independent events, so it's not the fire of London.
理想状态下,人寿保险,或者是火灾险,承保的对象都是独立事件,伦敦大火的例子不在讨论范围
Perhaps the argument shouldn't be, "We have to believe in souls because no mere physical object could reason."
也许论证不应该是,我们必须相信灵魂,因为所有的物理对象都不能推理
Implicit, according to Gadamer, in the notion of objectivity is an abandonment of the possibility of learning from the object, of learning from otherness.
伽达默尔认为,客观性这个概念中隐含着,放弃了从对象中学习,从相异性中学习的可能。
There's no reason to believe that the subjects in Milgram's original study were in any way unusual.
而且没有证据表明,米尔格林姆实验的对象是不正常的。
We want to create data types and functions, or we're going to call them methods, that are specifically aimed at manipulating those kinds of objects.
它们是特定的,用来操作那些对象的,我们的目标基本上来说,就是会去看看怎么去构建,能利用这种模块话。
OK, in each case, what these things are doing, is they're doing, what sometimes gets referred to as operator overloading.
这将会是个默认的或者说是,通用的来比较对象是否相同的方法,好,在每个例子中,这些事情正在做的,就是,一些与操作符重载有关的东西。
So I could get to that object either through this path or through that path, it didn't matter which path I use to modify it, I would see it when I looked at the other. Yes.
另外一条绑定获得这个对象,无论我通过哪个绑定来修改它,我都能在两个绑定中都看到做的改变,是这样的。
PROFESSOR: Last time, Professor Guttag introduced the idea of objects and classes and this wonderful phrase called object-oriented programming.
教授:上节课,Guttag教授,介绍了对象和类的概念以及,面向对象编程这个美妙的短语,这是我今天想继续讲的一个话题。
No, because they were only interested in the question of when are anorexics born, so it made sense to only study those.
不,因为他们只对厌食症患者是,什么时候出生的这个问题感兴趣,所以只研究这些对象是有道理的。
That there's a lurking variable which is just that people are more likely to be born in June.
人们的研究对象之中有一个隐藏变量,那就是大多数人都是在六月出生的。
And today nobody advocates a programming language that does not support it in some sort of way.
今天没有人会推荐一种,不支持面向对象编程的语言。
First, let's run through some other things that might be appealed to as candidates for feature F.
首先,让我们来了解一下其他,那些备选的功能特征的诉求对象
Of course if you think about what's being marketed, it's not the quiche, it's not the tofu.
当然,想想营销的对象都是什么,不是什锦蛋饼也不是豆腐
For those of you who haven't seen the movie, again, the setup is someone is a subject.
那些没有看过电影的同学,这里的情节是说实验对象。
Time's up. There is a little more to say, I think, and certainly the possible ways in which Russian formalism is subject to critique need quickly to be passed in review.
下课了,我还有一些话要说,俄国的形式主义,作为批评的对象飞快的被人们淡忘了。
Some physical objects can do things of a far more interesting sort than other physical objects.
某些物理对象,可做的事远远比,其他物理对象能做的事有趣得多
So in fact what happens inside of an object-oriented system, and particularly in init Python's object-oriented system, is the following.
面向对象系统的内部,尤其是在Python的面向,对象系统的内部的过程,就是如下的,当我们调用,它会去创建一个实例。
But when their recommendations are so-so, when it's a judgment call, the subjects are significantly more likely to hire the white American than the African American.
但如果他们的推荐信不是很好,这时就需要主观判断,实验对象雇用白人的几率,就会远远高于黑人。
The first studies done on this were actually done on teachers, on university professors.
对这个现象最早做的研究,研究对象是老师,大学教授。
That the average--- the people were reporting consuming eleven, 1200 calories or something, but when their food intake was actually measured it was over 2 000 calories.
实验对象汇报的,卡路里是1100或者1200卡,但他们实际食物摄入量,超过了2000卡
So I've appended this whole object.
因此我把整个对象都加到空数组里面去了。
There's this weird extra variable in there called self.
好,这是关于面向对象编程,我们需要谈论一点的东西。
Physical objects are a kind of illusion, perhaps, that we fall into.
物理对象只是一种幻觉,我们深陷这种幻觉之中
Let's say you get ten thousand people in a large study.
假设一项大的研究中有一万个调查对象
应用推荐