OOP Inheritance 第十讲
The thing to keep in mind in understanding OOP sui generis is that OOP is not really a matter of inheritance specifically, but of dispatch decisions more generally.
要完全理解OOP,有一点必须记住:OOP其实并不一定意味着继承,而是更一般的分派决策(dispatch decision)。
Technically, OOP is just about abstract data typing, inheritance and polymorphism, but other issues can be at least as important. The remainder of this section will cover these issues.
从技术的角度上来看oop其实就是对于数据类型的抽象,继承和多态,但是其他的问题也很重要,我会在下面的章节里提到这些问题。
The means of this pursuit have changed over time, from functions in Fortran through object-oriented programming (OOP) and inheritance toward interfaces.
这种追求的方法随着时间而变化,从 Fortran 中的函数到面向对象编程(OOP)和面向接口的继承。
应用推荐