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.
Don't make a type system work around the really bad parts of JS. Instead, don't allow them in typed modules. Don't settle for an intentionally unsound (aka broken ) type system. Add an actually sound (probably hindley-milner based) type system that provides usable type info to the JIT so we can guarantee fast, safe code.