The type/object distinction and possible synthesis of OOP and imperative programming languages

Roy Smith roy at panix.com
Thu Apr 18 21:08:22 EDT 2013


In article <51709740$0$29977$c3e8da3$5496439d at news.astraweb.com>,
 Steven D'Aprano <steve+comp.lang.python at pearwood.info> wrote:

> 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.

One of the nice things about OOP is it means so many different things to 
different people.  All of whom believe with religious fervor that they 
know the true answer.



More information about the Python-list mailing list