3 ms·
Presumably, to work with the original JavaScript, you still had to understand the convoluted type system that you created, or else be ok with not being able to
by bobbylarrybobby 6y ago
Presumably, to work with the original JavaScript, you still had to understand the convoluted type system that you created, or else be ok with not being able to reason about your code. At least with typescript you have the computer helping you reason about it.
- badlucklottery 6y agoYup. It's an attempt to formalize the mess that already exists in many JS libraries. That's why, even if I don't plan on using Typescript itself for a project, I prefer libraries that have type declarations or are natively Typescript. It shows the library authors at least attempted to understand the type system they were creating.