News for hackers. Stuff that matters.
Re:Goodbye TypeScript, hello native typing for JavaScript by smt88 on Thursday January 05, 2023 @09:20PM (#34270129)
> If we're going to have a backward-incompatible change, we should do things the right way

It makes much more sense to use a good language (Kotlin, Rust, Java) and transpile to JavaScript. There's already great tooling for it.

Re:Goodbye TypeScript, hello native typing for JavaScript by genjii931 on Friday January 06, 2023 @06:18AM (#34273494)
Welcome to Nim.
Re:Goodbye TypeScript, hello native typing for JavaScript by jfengel on Friday January 06, 2023 @10:43AM (#34275928)
JavaScript seems an unlikely compiler target, forced on us out of the odd historical success of JS on the browser. I'd think that a better target would be to make a VM like WASM.
Re:Goodbye TypeScript, hello native typing for JavaScript by smt88 on Friday January 06, 2023 @05:47PM (#34282444)
If WASM were a viable target today, I'd agree, but it isn't yet.

Transpiling to JS is ready for production and widely compatible with all browsers already.