3 ms·
"largely influenced by Java" I believe that's backwards. Javascript was based on Scheme & Self, the Java resemblance is only superficial; added later for mar
by bryanlarsen 9y ago
"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.
- goatlover 9y agoThe 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.
- gsnedders 9y agoThe 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".