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

Michael Torrie torriem at gmail.com
Thu Apr 18 12:37:17 EDT 2013


On 04/16/2013 04:38 PM, Mark Janssen wrote:
>   (Note this contrasts starkly with Java(script), which doesn't seem
> to be based on anything -- can anyone clarify where Java actually
> comes from?)

Java is not equal in any way with JavaScript.  The only thing they share
are semicolons and braces.  Naming EMCAScript JavaScript was a very
unfortunate thing indeed.

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.

I highly recommend you read a book on formal programming language theory
and concepts.



More information about the Python-list mailing list