4 ms·
I've been using node with typescript and it's amazing. VERY productive. The key thing is you can do a large refactoring without breaking anything. The biggest
by burtonator 7y ago
I've been using node with typescript and it's amazing.
VERY productive. The key thing is you can do a large refactoring without breaking anything.
The biggest challenge I have right now is actually the tooling. Intellij tends to break sometimes.
I'm using lerna for a monorepo with sub-modules and it's buggy with regular npm.
For example 'npm audit' doesn't work.
I might have to migrate to yarn...
- bytematic 7y agoI migrated to yarn workspaces and it made things very simple. It definitely handles dependencies better.
- deleted 7y ago[deleted]
- _bxg1 7y agoOut of curiosity, why do you use IntelliJ instead of VSCode for a TypeScript codebase? VSCode was practically purpose-built for TypeScript.
- sod 7y agoIntelliJ is just a very well written IDE. Searching for methods still feels better in IntelliJ. Or the refactoring possibilities like - move an interface/function/class into a separate file and IntelliJ will fix all imports to the reference for you. Under the hood they nowaday also use the language services (like typescript), but there are so many features on top.
- _bxg1 7y agoVSCode is great at the things you just mentioned. I agree IntelliJ is excellent for Java, but even multi-ecosystem tools tend to be biased towards certain use cases.
- root_axis 7y agoLanguage-servers make the choice of IDE moot. My vim setup is just as capable with typscript as vscode.
- _bxg1 7y agoThey don't completely. They help a ton, but certain IDEs are designed holistically with certain use-cases in mind and have very specific features that lend themselves to those use-cases on top of the basic error/autocomplete language support. For example, the Rust extension in VSCode gives me an inline button next to any function that's annotated as a test, which I can click to run that test. That's really useful and really specific to Rust. Whereas other IDEs (or other IDE extensions) might just do a bare-bones language server hookup to show errors and that's it.
- root_axis 7y ago> For example, the Rust extension in VSCode gives me an inline button next to any function that's annotated as a test, which I can click to run that test Not an ideal example. The rust-vim plugin supports the same feature (though, naturally via keys instead of mouse). https://github.com/rust-lang/rust.vim https://github.com/rust-lang/rust.vim
- fjp 7y agoVSCode isn't there yet for Python refactoring - I still find myself needing to find and replace to get everything when I rename a symbol or move a package (breaking imports). I should never have to do that. Pycharm refactors Python flawlessly. I would love to be exclusively in VSCode because of its configurability & overall snappiness but it's just not there for Python
- _bxg1 7y agoMy point exactly. VSCode was purpose-built with TypeScript in mind, IntelliJ was purpose-built with Java in mind (it's right in the name), Pycharm was purpose-built with Python in mind. It's great when an editor supports several languages, but it's probably going to support one or two of them better than the rest, so you want to pick yours based on what you spend most of your time in.
- joshstrange 7y agoI also use IntelliJ instead of VSCode for Typescript and my reason is ecosystem. I write PHP, Java, TS/JS/Node, some python, and I might need to look at some C code from time to time. I also use DataGrip as my DB browser so I am heavily invested (knowledge, not $$$) in the JetBrains ecosystem. My hotkeys and muscle memory work everywhere and I love switching between languages but keeping all my UI/UX the exact same. I've tried the "build an IDE from plugins on top of a lightweight editor" before and I just don't think you can beat the interoperability of IDEA. I can trust the first-party plugins 100% and use them without worry. That wasn't my experience using other editors. That's no shade towards people who use and like VSCode, more power to you! Really! It's just not for me and I feel very at home in any language using IDEA Ultimate. I just switched jobs and the new job doesn't pay for developers IDE's (yet) like my last job did. I didn't for a second consider using anything but IDEA. In fact I missed the "Individual"/"Organizations" distinction and even considering the "For Organizations" pricing ($499 1st year, $399 2nd year, $299 3rd year+) it still didn't phase me. I really feel like I get that much value out of these tools. That said I was happy to pay FAR less as an individual.
- judge2020 7y agoJetbrain's intended javascript/typescript IDE is WebStorm, but I wouldn't blame you for not using it since it's a $60/year commercial product [but free for students and open source projects].
- Nullabillity 7y agoAll of WebStorm's features are integrated into IntelliJ Ultimate, which is what I'd assume that the GP is using.