|
|
|
|
|
by jpgvm
1298 days ago
|
|
Main issues (non-exhaustive) with Typescript are: 1. Type checking is slow (this problem scales with the size of your project also which sucks)
2. Lack of proper build system ecosystem (as compared to Maven/Gradle/etc)
3. Ecosystem is poor
4. Packaging and module systems are poor (import side effects, gross) If you tackle 2. you can also work around 1. Best way to do this at this time is to use the new Bazel rules_js/rules_ts ecosystem. This will result in lowering the amount of time you spend type checking and transpiling things making it tolerable. 3. and 4. however are just things you have to live with if you go with Node.js. |
|
#3 is also a pretty wild take, in my experience. Maybe you have some pretty particular needs, but I very rarely find that I don't have what I need in Node.
#4, I'll give you--but if you're going to stan for the JVM, I hope you've never run into a static class initializer with side effects, because I've seen them about as often as I've seen side-effecting imports (which is to say, not often). I gather that they used to be a lot more common in Node, but I cannot think of a library in my usual stack, or even that I've used recently, that has side effects in that way (modulo development-environment stuff which leverages that kind of cursedness intentionally).