Hacker News new | ask | show | jobs
by stnmtn 1709 days ago
No one using TS claims JS is broken. People want a good type system in javascript, and with that obviously comes a new layer of complexity

The tradeoff is clearly worth it for certain use cases, and clearly not worth it for others. It seems you are discounting and ignoring cases when it is worth it.

1 comments

I don't think there are no use cases, but I think they are rarer than people think, and that for the most of development TS will be picked because it's someone preference not because of its actual benefits.
Do you really think that use cases for statically typed languages are rare?
TS =/= statically typed languages

Static typing can be a very useful tool especially when the language is designed around it, in TS it is a painful kludge.