|
|
|
|
|
by SoylentOrange
2307 days ago
|
|
The article conflates “popular” with “loved”. JS is popular because it’s the only* language in which it’s possible to write browser apps and extensions. The number of people using transpilers for this purpose is minimal. In actual fact, most people try to avoid JS whenever possible, instead using TS or other languages that compile down to JS. Saying people love JavaScript because it’s the most popular is like saying people love McDonald’s because it sells the most burgers [*] since we don’t have Java applets or Flash apps anymore. Writing in other languages still means transpiling to JS in the end |
|
Eh... if this was actually true, the web would look very different. I just can't square "web programmers hate Javascript" with "web programmers are obsessed with SPAs/CSS-in-JS/NodeJS backends/etc..."
> Writing in other languages still means transpiling to JS in the end
I'm assuming you already know about WASM, but if you don't, the future is starting to look relatively optimistic for other languages on the web. Still some problems to solve, but C++/Rust already have pretty promising toolchains working today.