Hacker News new | ask | show | jobs
by GekkePrutser 1389 days ago
Haha asking Oracle to give up legal rights.

Good luck with that :) :) :)

PS I never understood why they called it JavaScript since it has nothing to do with Java.

4 comments

>PS I never understood why they called it JavaScript since it has nothing to do with Java.

Netscape's Javascript had something to with Sun's Java in the sense that both languages were deliberately positioned together in the Netscape browser back in 1995. Key people from both Netscape and Sun worked together on that. Java would be positioned as the "professional compiled language" and Javascript would be the "easier scripting language". My previous comment with a link to Brendan Eich's explanation: https://news.ycombinator.com/item?id=26502156

But yes, if one only looks at the syntax of Javascript being different from Java -- without any context of what happened in 1995, it does seem like Javascript was misnamed.

If I understand correctly it was a marketing thing (cof cof C#), but also the creators actually had plans to collaborate with Sun and (somehow?) integrate the language with Java.
Oh they did. You could call into the JVM from JS even in early 2010s Firefox. Called LiveScript, I believe.
yup, i wrote a dynamic simulation using this technique in the late 90s, using java to implement a rk45 ODE solver and js/html canvas for visualization and controls.
My only thought was to associate it with the "write once run anywhere" nature of java.
That was meant as a foundation to build some interview questions that might filter out the worst of the crowd.