3 ms·
> There is a special issue for JavaScript, and that's monopoly There are languages that treat javascript as a compilation target. Purescript, Elm, Closurescrip
by azangru 5y ago
> There is a special issue for JavaScript, and that's monopoly
There are languages that treat javascript as a compilation target. Purescript, Elm, Closurescript, Rescript, Scalajs, etc. So if you really dislike javascript, you are still free to pick something else.
- ASalazarMX 5y agoThat just hides the lack of choice with another layer of complexity. A script language is not the best compilation target, but Web Assembly probably would be.
- azangru 5y ago> A script language is not the best compilation target Performance-wise, sure. But the parent commenters were not complaining about performance; they were upset about javascript's syntax, or lack of type guarantees, or typecasting, and so on. Well, all of this can be taken care of by the compiler, if the developer dislikes javascript itself so much.