Open janhesters opened 5 years ago
What tax did you experience? I was a bit of a Typescript/Flow skeptic, but I will never again do a project in plain Javascript. Maybe I can help you with the pain points that you were experiencing.
@hedgerh If you read the link I provided it will be explained in detail.
For my startup what it came down two where two major TypeScript flaws:
any
stuff or go through the search process described in 1.There are more points (like static types remove flexibility, on-boarding time, all tight-coupling problems that come with classes / interfaces, IDE experience etc.), but these are the two huge that massively tip the scale into vanilla JS's favor.
Haven't you encountered these observations?
Interfacing with Ramda is definitely a huge issue, but ideally those would be isolated and tested heavily and for the rest of the codebase that's written normally it's hugely useful to have the typings that TypeScript provides. :)
Hi Kent,
Are you aware of the "TypeScript Tax"? And that it can have a low or even negate ROI of time? If yes, what is your opinion on these issues?
I'm asking because at my startup we experienced that phenomenon in a major way. We switched back to JavaScript (for now).
Best regards, Jan