← Back to context

Comment by kstrauser

16 hours ago

> The entire browser ecosystem started out closed source.

That is completely, 100%, untrue and not remotely historically accurate. WorldWideWeb (the first web browser) was public domain. Lynx came out in 1992. Mozilla was open sourced in 1998. There was never a time when the "entire" browser ecosystem was closed source. It certainly didn't start that way.

> Even JavaScript was written to interact with closed source Java Applets.

No, it wasn't. From WP (https://en.wikipedia.org/wiki/JavaScript):

> Netscape decided to add a programming language to Navigator. They pursued two routes to achieve this: collaborating with Sun Microsystems to embed the Java language, while also hiring Brendan Eich to embed the Scheme language.

> The goal was a "language for the masses", "to help nonprogrammers create dynamic, interactive Web sites". Netscape management soon decided that the best option was for Eich to devise a new language, with syntax similar to Java and less like Scheme or other extant scripting languages.

> [...]

> The choice of the JavaScript name has caused confusion, implying that it is directly related to Java. At the time, the dot-com boom had begun and Java was a popular new language, so Eich considered the JavaScript name a marketing ploy by Netscape.

Some people might have used it for the purpose you claim, but that's not why it was invinted.

> Netscape decided to add a programming language to Navigator. They pursued two routes to achieve this:

And the reason for that two language approach is given in the linked source:

> We aimed to provide a “glue language” for the Web designers and part time programmers who were building Web content from components such as images, plugins, and Java applets. We saw Java as the “component language” used by higher-priced programmers, where the glue programmers—the Web page designers—would assemble components and automate their interactions using [a scripting language].

Earlier sources clearly state that Java was intended as the primary language and JavaScript merely acting as glue.