But TBH I wish Eich had just embedded Lisp in Mozilla instead.
> wide use and hence accessible.
"Everyone uses it" is not a good argument for anything at all, really.
> it takes decade to fix all issues it presented in other area.
Well, yes, it has had a lot of R&D done upon it to make it quicker, but again, that is not an endorsement.
> Still I would not dismiss it. Yes it is slow.
It seems to me that in the 2nd sentence there you contradict your own previous sentence.
> But it is not Java type.
What is so wrong with Java?
More OSes support JVMs than support Javascript. JVMs have few requirements and can even run on DOS. JVMs too have a ton of R&D into making them faster and better. There is rich tooling and support to make Java apps scale, such as Enterprise Service Buses, e.g. JBoss FUSE, which allows apps with clashing namespaces to run on the same host at the same time, and even communicate.
There are tools for writing native UIs for Java apps.
I would rather have Java apps than a Javascript one, frankly. At least with Java apps, one JVM in your OS supports all your apps, whereas JS needs one per app, or even one per window or tab in some apps.
> It can be better is the motto.
That is not a good motto. That is in fact a really bad one.
The way I heard it, Eich was hired to put Scheme in the browser, but then Sun planned a big applet event and he had a week and a half to throw together a scripting language that looked like Java, because plan B would have been something more like VBScript.
That's muddled: there was no Sun big applet event, I needed to do a demo inside Netscape to get everyone on the "it's possible to do Mocha" page.
And the VBScript threat was later, from Microsoft doing it in IE3. If I'd missed the Netscape 2 boat, it's likely VBScript would prevail (Netscape 3 was originally 2.1, and 4 was originally 3 but delayed a year; find "Collabra-driven" in https://www.jwz.org/doc/groupware.html).
It is readable unlike php, dynamic as root from lisp, wide use and hence accessible.
But given its original history and neglect, it takes decade to fix all issues it presented in other area.
Still I would not dismiss it. Yes it is slow. But it is not Java type.
It can be better is the motto.