The type/object distinction and possible synthesis of OOP and imperative programming languages
Neil Cerutti
neilc at norwich.edu
Thu Apr 18 13:57:13 EDT 2013
On 2013-04-18, Michael Torrie <torriem at gmail.com> wrote:
> 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.
Let me recommend Concepts, Techniques and Models of Computer
Programming, Van Roy and Haridi.
http://www.info.ucl.ac.be/~pvr/book.html
--
Neil Cerutti
More information about the Python-list
mailing list