5 ms·
> These days, TypeScript is effectively nothing more than a high-powered linter. That's a bad take - typescript enables tooling like refactoring/navigation/com
by rafaelmn 2y ago
> These days, TypeScript is effectively nothing more than a high-powered linter.
That's a bad take - typescript enables tooling like refactoring/navigation/completion that goes far above a linter. Development tools are just better with typescript vs JS.
- adamc 2y agoThat's ignoring all the negative effects of using typescript.
- munbun 2y agoThe only thing you’ve listed was your preference for readability
- adamc 2y agoTrue, I did not enumerate them. Adds another step to development and generally adds complexity would be other perceived downsides. I'll note that most of the upsides are also subjective.
- shepherdjerred 2y agoDeno/bun support TS natively, and Node is also adding support. https://github.com/nodejs/node/pull/53725 https://github.com/nodejs/node/pull/53725
- zarzavat 2y ago> adds another step to development I never understood this. It takes maybe 10 minutes to set up TypeScript in a project if you’ve done it before. Compared to all the other times involved (time to learn typescript, time saved debugging and writing tests for type errors) the setup time is a total non-issue.
- rafaelmn 2y agoI was refuting the part about typescript (language and the implementation/language server) being a glorified lint - the value proposition is way higher than that. Even other dynamic languages started moving in this direction due to the benefits of having type annotations brings to tooling/development experience overall.