12 ms·
A sorry, it's really not that complex. That's just a matter of opinion and depends on what you compare with. B You say you are less convinced of the "real worl
by amitport 3y ago
A sorry, it's really not that complex. That's just a matter of opinion and depends on what you compare with.
B You say you are less convinced of the "real world" benefit and actually specify the main one: "a lot of that is due to the tooling"... great tooling requires specific typing, this is a only a compile-time pass.
- giraffe_lady 3y agoYes obviously it's opinion and I was offering mine. It's more complex than other languages with similar benefits. Languages with type systems as sophisticated as TS give you MUCH stronger assurances for it. Languages with less sophisticated type systems give you much stronger assurances for it. People are bringing up ocaml in here for very good reason. It has a fairly limited and simple type system compared to TS yet is able to make strong assertions based on it. Rescript is an excellent example of how this could have been applied to JS. This is the core tradeoff of being a superset of JS, but as more time passes it's harder to see the other benefits of that. You need a compiler anyway.