This combining of data and functions on that data is a very essence of object-oriented programming That's really what defines it.
数据与函数的结合,是面向对象编程的核心,这也就是它的定义。
Now formally I could have had this pointing off to another object containing 4, but that just seemed excessive, right?
当然我可以正式的把它指向,另外一个含有4的对象,但这有点多余对不对?
They are creatures of majesty and dignity And they are of importance to, objects of concern for, the god who has created them.
他们是庄严而有尊严的生物,他们也非常重要,是关怀的对象,被那些创造他们的上帝关怀。
Maybe the pigeons were thinking that, maybe not, we don't know; Shafir and Tversky report experiments with people, not pigeons.
可能那些鸽子也这么想,也许没有,我们不知道,沙菲尔和特维斯基的实验对象是人,而不是鸽子
What no physical object can get right, because no physical object can get at all, is the qualitative aspect of experience.
物理对象无法感受到,对事物的定性体验是什么样的,因为它们根本无法去感受
There's naturally a lot of pressure on Milton to make this part of the simile beautiful and striking because he's echoing not just one epic poet, but essentially he's echoing just about every epic poet.
弥尔顿自然会感受到很多压力,必须得把这个比喻写的美丽动人,因为他不仅是在模仿一个诗人,实际上每个人史诗诗人都是他模仿共鸣的对象。
While he's almost universally acclaimed as a profoundly important intellectual figure, he's also the object of considerable dislike.
他被公认为,极为重要的知识分子,但同时,他也成为了别人唾弃的对象。
Thus, this acknowledgment of the otherness of the other, which makes him the object of objective knowledge, involves the fundamental suspension of his claim to truth.
因此,承认他者的相异性,使之成为客观知识的对象,涉及到从根本上中止对知识的追求。
We see Socrates addressing, the only time in any platonic dialogue, an audience of this size.
我们看到苏格拉底自辩的对象,其它柏拉图式语录的听众人数,根本与其无法匹敌。
For many, many years almost all the studies on cancer in health were done in men.
一直以来几乎所有关于癌症的研究,都是以男性为对象的
The system, it's that part of the universe that we're studying.
系统是宇宙的一部分,它是我们研究的对象。
Roughly speaking, about 1200 B.C., we hear of general attacks that are going on around the Mediterranean against the various civilizations of which we know.
大致说来,大概在公元前一千二百年,爆发了以地中海周围,我们所知的各种文明为攻击对象的,全面战争
It speaks to a market that has never really been addressed.
它同的对话对象,是一个从未得到重视的市场。
When I go around as a blind person, with my stick, ensure of myself among people, I feel that I am an object of respect and admiration.
当我像盲人那样拄着拐杖行走,确信自己走进人群当中的时候,我觉得自己称为了别人尊敬和仰慕的对象。
What it amounts to is theft by the state or by the majority, if we're talking about a democracy, from people who happen to do very well and earn a lot of money.
它相当于政府施行的盗窃,若是民主政府的话,则是大多数人施行的盗窃,其对象是工作出色而赚得大钱的人。
The syntax is OK in the sense of, it is an operand, an operator, an operand, so syntactically it's OK.
这里的语法应该是好的,有个运算对象,一个运算符,另外一个运算对象,因此语法上是没错的。
So that's the key thing to-- to realize; that what the assignment did was have two separate paths to the same object.
认识到赋值会造成两个独立的绑定到;,同一对象上这件事情很关键,因此我可以通过这一条或者。
This would roughly be a view according to which there are minds, but there aren't really physical objects.
这个观点估计是从人只有心灵,而不是物理对象的观点出发的
Now, what they did was--they were clever psychologists so they set it up in a study where the people did not know sexual orientation was at issue.
他们都是聪明的心理学家,他们设计了一个实验,实验对象并不知道研究的是同性恋问题。
And then the investigators actually measured these things, and found that with reported and actual energy intake, how many calories people were consuming, there was really quite a difference.
研究人员实际上得到了以下结果,实验对象汇报的和实际的能量摄入,也就是人们摄入的卡路里,两者有较大差异
Now these ideas of classes, object-oriented programming, data abstraction, are about 40 years old, they're not new ideas.
面向对象编程的概念,数据抽象的概念,都是40年前就有的老东西了。
Right add to it in a second, but the idea is class is going to be a template for creating instances.
对象的实例的模板,现在,这真是一个很蠢的模板,我马上会去完善它,但是首先我应该先建立起它来。
Those two equal signs are saying, is this thing equal to, in value, the thing on the other side?
这两个等号意思是,左边的对象,在值上是不是和另外一边的相等?
PROFESSOR 2: I just want to maybe mention that in some of the reading, you'll see terms like object equality and value equality, instead of shallow equality and deep equality.
教授2:我就是想提醒下,大家阅读的时候请注意,你们会看到对象相等和值相等,而不是浅意义相等和深意义相等,教授:好,那么,这个对象。
So it makes sense to be able to say, look for many methods I do want to have a way of doing comparison, and I don't have to remember, at top level, what the name of the comparison method was.
所有我需要的对象进行操作,那么就可以这么说了,我想要在很多方法里面,去找做比较的方法,我并不需要记住,每一个比较的方法的名字。
Some people like to use shallow and deep, object and value, but they're talking about the same thing, which is it the same object or is it the same, in this case, set of values, depending on what you want to define as you use it.
有些人喜欢用对象相等值相等,但是它们是同一件东西,也就是是不是同一个对象,或者是不是同样的,在这个例子中,是同样的值集合,这取决于当你使用它的时候,想要怎么来定义它。
And that's because it's easier to test small things than big things. And it's easier to debug small things than big things.
这是因为对小一点的对象,进行测试比对大一点的对象进行测,试要简单多了,调试也是如此。
What does it do? It has height, it says, I've got two names of things: the request message and the error message.
那它是用来干嘛的呢?,它声明了包含两个对象:,要求输入的信息和输入类型错误信息。
应用推荐