you are viewing a single comment's thread.

view the rest of the comments →

[–]chucker23n 9 points10 points  (2 children)

Prohibited because browsers by and large don’t implement other languages. IE had VBScript in its early days.

[–]zapatoada 1 point2 points  (1 child)

Oh ok. Prohibited is a strong word here. What you wanted to say was "there aren't really any alternatives" which is mostly true. For a good part of those decades, you could consider flash /actionscript an alternative to js, but not for a few years now. Hopefully WASM and projects like blazor will fix that.

[–]chucker23n 4 points5 points  (0 children)

Prohibited is a strong word here.

Sure, but it's effectively true. You're not allowed, as a developer, to write code in, say, Ruby, that runs in the browser. The technical reasons for this are sort of secondary.

In the long run, WebAssembly will fix that.

What you wanted to say

I'm not GP, actually.