Mine is that the useState hook is an actual plague on the entire React ecosystem. Regardless of your opinions of React, if you wanna use something then use it right.

    • OddMinus1@sh.itjust.works
      link
      fedilink
      arrow-up
      1
      ·
      2 days ago

      I use VIM keybindings in intellij, and have done so for 10 years. There is no reason for me to be quicker or more productive than anyone without VIM. It’s just a preference.

    • save_the_humans@leminal.space
      link
      fedilink
      English
      arrow-up
      7
      ·
      2 days ago

      Do other editors let you save multiple sessions? Where you can open up any large project exactly where you left off, every tab, split, window, layout, and file already in your buffer for all of your projects or just the last one you were working on?

      If not, this feature has saved me a lot of set up time. It’s been a long time since I used anything else.

    • hayvan@piefed.world
      link
      fedilink
      English
      arrow-up
      4
      ·
      2 days ago

      It does but not because it’s vim or about any features really. It does for me personally only because I’m so used to it, most of the tasks like search, highlight, open diff, list compile errors, follow function calls etc work without mental load. Any editor will do that for you if you customize/memorize common hotkeys for your use case.

    • MousePotatoDoesStuff@piefed.social
      link
      fedilink
      English
      arrow-up
      7
      arrow-down
      2
      ·
      2 days ago

      It’s pretty useful for text editing, but for any more serious code work I prefer to use an actual IDE.

      As far as software development, Vim seems to me like an excellent solution for an irrelevant problem (typing speed).

      Also, it’s great that it’s lightweight, but I bought the entire RAM and I’m going to use the entire RAM :P

    • unglueclass23@programming.dev
      link
      fedilink
      English
      arrow-up
      2
      ·
      2 days ago

      It really doesn’t. The time you spend learning it and setting your config will never pay off and even after you do these things the time it saves you is negligible. I can use Zed and have 90% what Neovim offers me, it even has really good vim motions. Picking them up for productivity is a bad reason to do it.

      I really liked a talk by TJ titled (Neo)Vim Made Me a Better Software Developer. The reason he uses it - is because it was basically a playground where he could play around with his code and get instant feedback as he’s the “customer”.

      I can relate to this. Neovim is really extensible and minimal by default. This encourages 2 things:

      1. To live close to your code. You really get an understanding of all of the underlying tools related to your development environment and it gives you control to make it as minimal as you want it. There’s wayy less abstractions on top to simplify stuff for you. When I was a beginner using Webstorm or whatever I had no clue what a LSP was. Git? Just use built in GUI why bother learning commands? Terminal? Why would I need that? Ripgrep? Treesitter?
      2. To play around, customize, build stuff. There’s lots of API’s and you can change a lot in the editor. I made Neovim my main markdown editor with a few tweaks in my config. It’s minimal and I like it. Wayyy better than Obsidian.

      And at the end of the day it’s kinda fun. It makes writing code more more enjoyable as you always end up learning how to navigate your code base more efficiently. Like a game almost :)

    • jjj@piefed.blahaj.zone
      link
      fedilink
      English
      arrow-up
      3
      ·
      2 days ago

      People (such as myself) make the argument that it does a better job because it’s focused more on reading code than writing it since you don’t start in the “write” mode like in most editors.

      I would say the choice of text editor shouldn’t make a difference in productivity so long as it doesn’t actively get in your way too often (looking at you, poorly implemented autopairs) and it supports the relevant LSP and debugging protocols.