3 ms·
You heard wrong. The only way typescript is going away is if JS essentially incorporates it. The only things people don't like about it is that you need some
by jmull 3y ago
You heard wrong.
The only way typescript is going away is if JS essentially incorporates it.
The only things people don't like about it is that you need some tooling and a build step.
However, with its popularity, ts is built in to a lot of things, so the tooling usually isn't a big burden (particularly to get started).
And it's viable in a lot of cases these days to forgo the build step and instead use JS with typescript type annotations. (That might be what you heard about. That's really still using typescript, though.)
- leptons 3y ago>The only things people don't like about it is that you need some tooling and a build step. Wrong. Many people dislike many things about Typescript. https://levelup.gitconnected.com/the-inevitable-decline-of-typescript-has-begun-22e4899d0ae1 https://levelup.gitconnected.com/the-inevitable-decline-of-t... https://medium.com/codex/why-are-javascript-pros-saying-goodbye-to-typescript-8c4bc8ec82a1 https://medium.com/codex/why-are-javascript-pros-saying-good... https://gomakethings.com/ditching-typescript-for-javascript/ https://gomakethings.com/ditching-typescript-for-javascript/ https://www.reddit.com/r/sveltejs/comments/12cyady/are_you_leaving_svelte_cause_they_are_ditching/ https://www.reddit.com/r/sveltejs/comments/12cyady/are_you_l... There are plenty more examples of why people tried typescript and went back to javascript. It's definitely not only because of a build step, but also "type gymnastics", and other code bloat.
- csjh 3y agoClaiming "many people" and proceeding to link to 4 posts that use Svelte as an example is a bit silly considering Rich Harris has said, numerous times, that the decision in Svelte's codebase should NOT be taken as advice for what to do in your codebase, because their decision only pertains to a very specific set of circumstances.
- leptons 3y agoI was countering the previous comments assertion that "the only reason" people don't like typescript was because it has a build step, and your comment doesn't prove me wrong.