News for hackers. Stuff that matters.
Re:Modern Javascript: Everything you missed over the last 10... by skeletal88 on Saturday May 15, 2021 @03:02PM (#27167918)
It would be amazing if there were other languages available for front-end development in the browser, no? Even if you think that JS is so wonderful, then having competition would still be good, or no? Currently JavaScript has a monopoly in the browser and monopolies are always bad. Bad for innovation and everything else.

It would be better if there were no oddities in a language. One of the reasons why everyone hates PHP is that it is full of inconsistencies, odd design choices, weird naming and unexpected behaviour. JS has at least some of these.

If there was a second of third language available in the browser, then that too could be used to develop back-end applications and would have the benefits you describe - that you can use the same language for both stacks etc. For example - if you could front-end stuff in Python, would it be amazing or bad? Or would the current JS devs just fear for their jobs because of it?

Re:Modern Javascript: Everything you missed over the last 10... by tester756 on Saturday May 15, 2021 @03:06PM (#27167951)
There are, you can write C# in browser easily.
Re:Modern Javascript: Everything you missed over the last 10... by chrisweekly on Saturday May 15, 2021 @07:54PM (#27170016)
Or write in TypeScript, or ClojureScript, or....
Re:Modern Javascript: Everything you missed over the last 10... by tester756 on Sunday May 16, 2021 @08:40AM (#27173294)
If you have existing code base / libraries in C#, then what's the point
Re:Modern Javascript: Everything you missed over the last 10... by rytrix on Saturday May 15, 2021 @09:03PM (#27170336)
Give WASM a go