3 ms·
What is the alternative that doesn’t force you to use a completely different platform/ecosystem (a la Elm)?
by RussianCow 5y ago
What is the alternative that doesn’t force you to use a completely different platform/ecosystem (a la Elm)?
- Zababa 5y agoThere isn't any as easy to integrate as TypeScript. TypeScript isn't flawed because of bad decisions, I think the people behind did an impressive job with it. TypeScript's flaws stems from JS and its ecosystem. And I really can't blame people from trying to keep their legacy systems. JS isn't going anywhere, and of of TS's selling point is that you can easily go back from TS to JS (I'm not sure how true that is, we'll see in a few years). ReScript (https://rescript-lang.org/ https://rescript-lang.org/) is trying to take another approach, which is being a different language, way simple and easier to use and in my opinion better than TS, but the price is that integration with JS is harder. The community is also small compared to TS. But you can leverage some work already done, as it can consume TS types. This may be what you asked for, as you can still use the ecosystem.