>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.
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.
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.