DEV Community

Discussion on: Thoughts on TypeScript

Collapse
 
cski profile image
Patryk Cieszkowski

The argument of TS being a propriatery software doesn't hit me at all. It's published under Apache 2.0 license, they can't back that off - they could however start publishing newer versions under a new license, but I don't believe the changes they implement are worth the hassle - the vast majority of the software would still remain opensource.

My issue with TS is the fact it doesn't work; it's sole purpose is supposed to be implementation of typechecking capabilities. And that works OKish, up until the pre-compile stage of development. It doesn't help you at all during actual runtime.

Collapse
 
thewix profile image
TheWix

If you have anti-corruption layers then you can trust what was compiled at runtime. You will not have issues unless you incorrectly deal with untyped data. This is a fact with untyped JS or even C#/Java/etc. If you incorrectly handle values from a form or API you will get an error in any language, typed or not.