Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

"largely influenced by Java"

I believe that's backwards. Javascript was based on Scheme & Self, the Java resemblance is only superficial; added later for marketing purposes when they picked up the JavaScript name.



The syntax was largely influenced by Java, although Scheme & Self influenced more of the semantics than Java did. From memory of what Brendan has written before, the language was meant to be, per managerial plans, "Java but a scripting language".


The syntax sure is much closer to Java than Scheme or Self. So was the obscuring of prototypal inheritance with the new keyword along with the Math object.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: