3 ms·
> I'm not convinced it's necessarily better than nothing. Introducing this whole new layer of complexity, potential breakage and maintainance issues is a trade-
by seanwilson 9y ago
> I'm not convinced it's necessarily better than nothing. Introducing this whole new layer of complexity, potential breakage and maintainance issues is a trade-off. It could go either way depending on many factors.
I'm not saying they're perfect but they're practical. I've used numerous libraries with TypeScript using third party typing now and haven't come across any major issues yet.
If you can use a proper statically typed language with libraries then that would be preferable but is that a realistic option? Right now, TypeScript seems like a practical and realistic option to me.
It's no competition for me if I have to pick between plain JavaScript + third party libraries vs TypeScript + third party libraries with maybe slight inaccuracies in their types. For the latter, it's not much difference to coping with library bugs.