This combining of data and functions on that data is a very essence of object-oriented programming That's really what defines it.
数据与函数的结合,是面向对象编程的核心,这也就是它的定义。
Now these ideas of classes, object-oriented programming, data abstraction, are about 40 years old, they're not new ideas.
面向对象编程的概念,数据抽象的概念,都是40年前就有的老东西了。
So what is this all about? What is an object in object-oriented programming?
所以它到底是什么呢?,面向对象编程中的对象到底是什么呢?
But it really wasn't until, I would say, the arrival of Java that object-oriented C++ programming caught the popular attention.
但是知道Java的诞生,才吸引了大众的关注,而后Java和。
PROFESSOR: Last time, Professor Guttag introduced the idea of objects and classes and this wonderful phrase called object-oriented programming.
教授:上节课,Guttag教授,介绍了对象和类的概念以及,面向对象编程这个美妙的短语,这是我今天想继续讲的一个话题。
And we're going to use this object-oriented programming, typically to create something called data abstractions.
在接下来的几天,你会明白我们这里说的具体含义,它的一个同义词。
So in fact what happens inside of an object-oriented system, and particularly in init Python's object-oriented system, is the following.
面向对象系统的内部,尤其是在Python的面向,对象系统的内部的过程,就是如下的,当我们调用,它会去创建一个实例。
Some other object-oriented programming languages do not provide that pointer.
其他的面相对象编程的语言,没有提供这个指针。
As we talk about this, as people talk about this, in the context of our object-oriented programming, they typically will talk about it in terms of message pass, a message passing metaphor.
当我们讨论这个的时候,当人们讨论这个的时候,在面向对象编程的背景下它们往往会,被称为消息传递,也就是传递隐喻的消息。
应用推荐