DEV Community

Discussion on: Why Javascript of all languages?

Collapse
 
xngwng profile image
Xing Wang

I think it is all matter of timing and luck, more than the pro and cons of the design of the language itself.

It was the scripting language chose for the web browser, by basically the first popular browser (Mosaic/Netscape).

Rising tide floats all boats.

Once Javascript established as the foothold in the first browser, many websites add it to their website, now all future browser has to support it. As more websites needs Javascript, job market will ask for people who know Javascript. As more people learn Javascript, they want to leverage what they know to build more thing.

The original decision makers for Netscape/Mosaic considered Scheme or TCL also, if they had chose that, we might be asking the same of TCL or Scheme. (ironically, they called the language Javascript to associate themselves with Java, which was becoming the hot language at the the time.).

Collapse
 
leoat12 profile image
Leonardo Teteo

Yes, this historic side is very important, it was a process that led to this.