I’ve just spent 2 hours debugging an issue which turns out to be because JavaScript was silently converting my integer to a string… Not even quotes around it when printing out… just great.
The fact that we as an industry decided to take a programming language designed for normal folk to add a little bit of interactivity to the personal websites and use it to build commercial grade applications is honestly one of the worst decisions of the 21st century. Pure stupidity.
@swiley PureScript and Elm, languages heavily inspired by Haskell, that compile to JavaScript are honestly a joy to work with. It’s just a shame they’re another level of abstraction. I’m holding out hope for wasm to go mainstream so I can write in languages like Go, Swift, and Rust. I’m not hopeful though when obvious technologies like Web Workers are yet to do so.
@rlamacraft Languages that coerce between unrelated types make Ocaml and haskell look very tempting.