It's because the alternative is not there. It's javascript or nothing on the web. Like it or not, that's just not something that is going to be fixed any time soon and be widely adopted & deployed.
Of course you can transpile to javascript and many do. Wasm is a cool thing as well so you can treat javascript as a bytecode interpreter and compile to it. But it all boils down to using the same ecosystem of tools, frameworks, and browser standards.
At the same time, javascript itself is maturing. So, it's a bit less of a PITA to use than it used to be.
On the server it is less clear cut. I've seen a few node.js projects and mostly it is great for small microservices but bigger stuff still tends to be done in other languages. One nice thing with node.js is being able to reuse code between frontend and backend; or even do serverside rendering using client side code. Personally, I prefer something more strongly typed and I get the impression that is true for a lot of server developers.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
It's because the alternative is not there. It's javascript or nothing on the web. Like it or not, that's just not something that is going to be fixed any time soon and be widely adopted & deployed.
Of course you can transpile to javascript and many do. Wasm is a cool thing as well so you can treat javascript as a bytecode interpreter and compile to it. But it all boils down to using the same ecosystem of tools, frameworks, and browser standards.
At the same time, javascript itself is maturing. So, it's a bit less of a PITA to use than it used to be.
On the server it is less clear cut. I've seen a few node.js projects and mostly it is great for small microservices but bigger stuff still tends to be done in other languages. One nice thing with node.js is being able to reuse code between frontend and backend; or even do serverside rendering using client side code. Personally, I prefer something more strongly typed and I get the impression that is true for a lot of server developers.