3 ms·
Typescript's goal is to represent the complexity of a dynamically typed language with type annotations so you can run static type analysis and verification. Typ
by aikah 7y ago
Typescript's goal is to represent the complexity of a dynamically typed language with type annotations so you can run static type analysis and verification. Typescript shouldn't learn anything from Go, because their goals are completely different.
The great thing with Typescript is that you don't have to use all its spec to benefit from it, so no user has to know the entire spec.
But you can't complain that Typescript does exactly what it was invented for. Blame Javascript.