News for hackers. Stuff that matters.
Re:Blessed Are the JavaScript Developers by naikrovek on Monday August 31, 2020 @06:29PM (#24336535)
> The problem is that practically everything in Javascript is comparable.

No, the problem is that JavaScript has not been replaced by something better before now. The problem is that when JavaScript was written, it was never, ever intended for the things it is being used to do today, and backwards compatibility requirements prevent the very necessary, very long overdue destruction of JavaScript.

The problem is not comparability, the problem is JS itself.

Re:Blessed Are the JavaScript Developers by danShumway on Monday August 31, 2020 @07:48PM (#24337072)
> No, the problem is that JavaScript has not been replaced by something better before now.

I suspect replacing Javascript was an out-of-scope task for the people trying to design a `sort` function.

> and backwards compatibility requirements prevent

WASM will work just fine without breaking existing websites. People can hate on Javascript all they want, but "don't break the web" is a good policy that we should be encouraging in most cases. If anything, there's been a kind of harmful trend from browsers like Chrome in the opposite direction, and I think it's bad for the web to make it into a less stable platform.