News for hackers. Stuff that matters.
Re:Vim is touch-typing on steroids by galangalalgol on Friday January 13, 2023 @12:05AM (#34364164)
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.
Re:Vim is touch-typing on steroids by Aperocky on Friday January 13, 2023 @12:31AM (#34364305)
Write 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.

Re:Vim is touch-typing on steroids by galangalalgol on Friday January 13, 2023 @07:38AM (#34366900)
Insisnwrite 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.
Re:Vim is touch-typing on steroids by ilikehurdles on Friday January 13, 2023 @12:54AM (#34364413)
Vim 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.

Re:Vim is touch-typing on steroids by seanw444 on Friday January 13, 2023 @10:28AM (#34369046)
I use Pyright with Doom Emacs at work, and I have no need for anything more. And I work on a relatively large Python codebase.