5 ms·
It's no accident. If you read any early historical accounts[0] of Mocha -> LiveScript -> JavaScript, you can see why. From the linked: > What was meant to be a
by karmakaze 4y ago
It's no accident. If you read any early historical accounts[0] of Mocha -> LiveScript -> JavaScript, you can see why. From the linked:
> What was meant to be a Scheme for the browser turned into something very different. The pressure to close the deal with Sun and make Mocha a scripting companion to Java forced Eich's hand. A Java-like syntax was required, and familiar semantics for many common idioms was also adopted. So Mocha was not like Scheme at all. It looked like a dynamic Java, but underneath it was a very different beast: a premature lovechild of Scheme and Self, with Java looks.
[0] https://auth0.com/blog/a-brief-history-of-javascript/ https://auth0.com/blog/a-brief-history-of-javascript/