procedural(面向过程的)、generic(泛型的)、object-based(基于对象的)、objectoriented(面向对象的)
javascript is object based
In computer science, the term object-based has two different senses:
A somehow limited version of object-oriented programming, where one or more of the following restrictions applies: (a) There is no implicit inheritance, (b) there is no polymorphism, (c) only a very reduced subset of the available values are objects (typically the GUI components).
Prototype-based systems (that is, those based on “prototype” objects that are not instances of any class).
在计算机科学中,基于对象的术语有两种不同的含义
面向对象编程的某种限制版本,其中一个或多个以下限制适用:(A)没有隐式继承,(b)不存在多态性,(c)只有一个非常简化的可用值子集是对象(通常是GUI组件)。
JavaScript是基于原型(Prototype)的对象系统(也就是说,那些基于“原型”的对象,而不是任何类的实例)。
p.s.
在计算机科学当中,基于对象一词有两种不同含义
满足至少其一:没有明确的继承、没有多态、对象的使用只局限在很小的范围内
基于原型而不是类的实例构建对象
JavaScript对象模型解析
本文探讨了JavaScript作为基于对象而非面向对象的语言的特点。解释了基于对象编程的概念及其与面向对象编程的区别,强调JavaScript采用的是基于原型的系统。
2766

被折叠的 条评论
为什么被折叠?



