3 ms·
Python without vscode and pylance is rough. And even then you need to keep up with the typehinting. Vim and python leaves me with all sorts of horrific runtime
by galangalalgol 4y ago
Python without vscode and pylance is rough. And even then you need to keep up with the typehinting. Vim and python leaves me with all sorts of horrific runtime errors to debug.
- Aperocky 4y agoWrite unit tests. I write unit tests for my personal projects - it might sounds ridiculous but it is the reason why I can grow these projects beyond the initial 12 hours of interest. Since personal project tend to be on the smaller side I usually uses typescript or python but I've never found it an issue where pure vim usage becomes an issue at scale. It also strongly enforces separation of concern in terms of file organization. I found using vim for development to be a positive feedback loop.
- galangalalgol 4y agoInsisnwrite unit tests, but they often passed for reasons other than the intended ones because of the dynamic typing. I kept adding tests every time I caught something runtime, but I was at an order of magnitude more tests than I would need with a strong and static types language. Pylance kept me from making thos mistakes in the first place.
- ilikehurdles 4y agoVim has all the same language servers that vscode has, with all the same capabilities. e: never mind, I see Microsoft closed sourced pylance and restricted it to their products. Typical. Of course there is still pyright along with a python language server, but I guess technically not pylance any more.
- seanw444 4y agoI use Pyright with Doom Emacs at work, and I have no need for anything more. And I work on a relatively large Python codebase.