Why was JavaScript implemented using prototypal inheritance? -


there lots of articles , posts explaining how javascript inheritance works, why javascript implemented using prototypal inheritance instead of classical inheritance?

i love javascript, i'm not saying it's bad thing... i'm curious.

here's brendan eich has happened: http://weblogs.mozillazine.org/roadmap/archives/2008/04/popularity.html

as i've said, , others @ netscape can confirm, recruited netscape promise of "doing scheme" in browser. @ least client engineering management including tom paquin, michael toy, , rick schell, along guy named marc andreessen, convinced netscape should embed programming language, in source form, in html.

the diktat upper engineering management language must "look java". ruled out perl, python, , tcl, along scheme.

i'm not proud, i'm happy chose scheme-ish first-class functions , self-ish (albeit singular) prototypes main ingredients. java influences, y2k date bugs primitive vs. object distinction (e.g., string vs. string), unfortunate.


Comments

Popular posts from this blog

c++ - Convert big endian to little endian when reading from a binary file -

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

unicode - Are email addresses allowed to contain non-alphanumeric characters? -