Now I have that song stuck in my head.
Now I have that song stuck in my head.
As a person who has been writing JS for a very long time, and was building SPAs before the term existed…
It all comes down to return on investment. The arguments I always hear in favor of TS are solutions to problems I’ve never had, at the expense of writing more code to do the same amount of work.
It’s the same for people who tell me that they think everything should be tested then show me the tests they spent the last 40 hours working on, which I can quickly see are extremely brittle and unlikely to ever show any ROI. You will never be able to test every scenario, increasing the amount of things you test arbitrarily just increases the cost of building and maintaining your software. Each test you add should be something worth building and maintaining.
Excess code that isn’t providing value is far more detrimental than not having a few extra tests or type safety.
You should check out Google Web toolkit, totally signs like your kind of thing.
Typescript is for people who hate JavaScript, for the most part. The bulk of the people who have been writing JavaScript for years and aren’t Java converts are still using JavaScript and will continue to do so. The Java developers will continue writing Java, no matter what language they are programming in.