The type/object distinction and possible synthesis of OOP and imperative programming languages
Steven D'Aprano
steve+comp.lang.python at pearwood.info
Thu Apr 18 21:00:48 EDT 2013
On Thu, 18 Apr 2013 10:37:17 -0600, Michael Torrie wrote:
> For the record, JavaScript is what they call a "prototype-based
> language." http://en.wikipedia.org/wiki/Prototype-based_programming.
> You can emulate an OOP system with a prototype-based language.
Prototype languages *are* OOP. Note that it is called OBJECT oriented
programming, not class oriented, and prototype-based languages are based
on objects just as much as class-based languages. They are merely two
distinct models for OOP.
--
Steven
More information about the Python-list
mailing list