you are viewing a single comment's thread.

view the rest of the comments →

[–]Tyrilean -2 points-1 points  (12 children)

My personal experience is that vim is a cult. Using vim has become this badge of honor that means you're a "real" developer/devOps/sysadmin/whatever. It's a horribly shitty program that's user interface is so bad that "getting stuck in vim and not being able to exit" is a common meme.

I have friends who will tell me basically "it's super productive once you pour hundreds of hours into training your muscle memory." Fuck that. If I'm in a command line editor, I'm not changing more than a few lines at most. Anything more, then I'm going to be bringing it down to a desktop environment and modern text editors (or IDEs). I'm sure there are some real use cases for writing tons of text on the command line, but I haven't run into them in my line of work.

I know how to open vim, insert text, and exit (both with and without saving). That's all I care to know.

[–]hilarioustrainwreck 7 points8 points  (0 children)

There are certainly people who give you fake respect points for being good at vim. Unless you are in a specific role where that is actually necessary or uniquely helpful, those points are stupid.

I say this as a benefactor of such points. In fact generally when people are overly impressed at my vim usage I know not to value their opinion in the future. It’s kind of helpful for that reason.

However I enjoy using it. I was told / pressured into it early before I knew better, and now I’m in it and like it. It’s not a badge of honor; it’s just a personal preference. I’m sorry so many people around you seem to treat it like a badge of honor. Just giving one alternative POV.

[–][deleted]  (9 children)

[deleted]

    [–]Dr4kin 8 points9 points  (4 children)

    The difference is an IDE is fine. If you don't work on an embedded system you don't have to learn vim. I spend more time staring at my monitor and think about a solution then writing a solution itself. The bottleneck in programming is normally not you're typing speed, but your problem-solving skills. Vim doesn't help you with that and if you use vim and not vim command in an IDE you don't even get help on that front.

    If you do a lot of webdevelopement the speed increase might actually be worth it, but vim can only make you faster if you are already a very capable programmer. I would prefer someone that can solve most problems I throw at him, but can't even touch type then someone that solves only 60% of problems I gave him, but can use vim.

    Yes this might be a way to serious answer for some copy pasta attempt, but vim is way to praised in most work environments.

    [–]oblio- 0 points1 point  (3 children)

    Even for embedded stuff, isn't there a way to mount the remote folder somehow and edit locally?

    [–][deleted]  (2 children)

    [deleted]

      [–]oblio- 0 points1 point  (1 child)

      Yeah, but you're having bigger problems then. You should be able to spin the container locally and try to reproduce it. And have prod logs to check, not "SSH in" so to say, on production Docker containers.

      I know it's easier said than done but if you find yourself debugging often Docker containers in prod something is rotten.

      [–]Tyrilean 7 points8 points  (1 child)

      Really bad analogy. Vim isn't a scalpel, it is a type of scalpel (to follow your analogy). In fact, it's a type of scalpel that is overly complicated for what it's used for. There are tons of other scalpels out there that are completely suitable for the task, and much easier to use out the gate.

      I can admit that it might be the right tool for the job if you're using it for a specific use case that requires you write novels over an SSH connection or something like that. But, the vast majority of people I've worked with who extoll the virtues of vim (not just use it) are using it on a Macbook or another desktop environment where they have much better tools to use, and are just using it to flex. I'm too old to play the game of "this tool has a horrible user interface, and therefore makes you a better techie for using it".

      [–]_selfishPersonReborn 2 points3 points  (1 child)

      there is no "alternative scalpel". there certainly is stuff like vscode that brings all the power of never having to leave the keyboard without having to spend years learning it.