Hacker News new | ask | show | jobs
by nalekberov 1 day ago
> JavaScript was not developed as a fork of Java, but much of its basic syntax still resembles Java, so I think it's fair to compare them.

It's absolutely irrelevant to compare these two languages. Calling the former "Javascript" was just a marketing trick.

2 comments

> It's absolutely irrelevant to compare these two languages. Calling the former "Javascript" was just a marketing trick.

Playing devil's advocate: back when you still could use Java in the browser, you could use Javascript to script your Java applets.

The original version was Scheme, but they made it look like Java for marketing, too.