4 ms·
Typescript without the CJS/ESM/tooling BS. Plus a JIT compiler for performance.
by trinovantes 4y ago
Typescript without the CJS/ESM/tooling BS. Plus a JIT compiler for performance.
- jrimbault 4y agoTypeScript free from the historical baggage of JavaScript. With some runtime type checking, autogenerated typeguards from types, allowing things like checked de/serialization. A TypeScript where (for example) string methods make sense, with all the number types and not just floats, with only null or only undefined and a lot of other things I can't think of right now. Maybe add some pattern matching on top. TypeScript's type system is so nice and ergonomic to use, it's a shame the basic objects of JavaScript (Object & co) are so "fickle" to work with. To answer OP's question, I don't think there could be a "perfect" programming language.
- spion 4y agoThis would be nice. I'd also like more traits/protocols/interfaces. I think deno is going in this direction but there is a lot more to do to get there.