• masterspace@lemmy.ca
    link
    fedilink
    English
    arrow-up
    0
    ·
    19 hours ago

    Lmao, devs who insist on using the VIM and the terminal over better graphical alternatives just to seem hardcore are the worst devs who write the worst code.

    “Let me name all my variables with a single letter and abbreviations cause I can’t be bothered to learn how to setup a professional dev environment with intellisense and autocomplete.”

    • Klicnik@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      0
      ·
      14 hours ago

      I tried using VScode to play around with Golang. I had to quit coding to take care of something else. I hit save, and suddenly I have way fewer lines of code. WTF? Why did/would saving delete code? After much digging, it turns out because the all knowing VSCode thought because I had not yet referenced my variables, I never would, and since my code I wanted to save and continue later wouldn’t compile, it must be quelled. Off with its head!

      Anyway, I decided to use vim instead. When I did :wq, the file was saved exactly as I had typed it.

      • masterspace@lemmy.ca
        link
        fedilink
        English
        arrow-up
        0
        ·
        9 hours ago

        This is either false, or you didn’t understand the environment you were working in.

        You have to explicitly turn on the setting to have VSCode reformat on save, it’s not on by default, and when it is on, it’s there for a reason, because having software developers that do not all follow the same standard for code formatting creates unpredictable needless chaos.

    • PlexSheep@infosec.pub
      link
      fedilink
      arrow-up
      0
      ·
      edit-2
      18 hours ago

      You are making prejudiced, generalized, assumptions and presenting them as facts.

      You are at best naive if you think people use vim and a terminal instead of “better graphical alternatives” (which there are none of if you’ve really gotten into vim/emacs/whatever). And we don’t do it to seem hardcore (maybe we are, but that’s a side effect). Software in the terminal is often more simple to use, because it allows chaining together outputs and has often simpler user interfaces.

      The second paragraph is word salad. Developers should name their shit properly regardless of editor and it’s quite simple to have a professional dev setup with ‘intellisense’ and auto complete in neovim. In fact, vim/neovim and I assume emacs too have much more features and flexibility of which users of IDEs or vscode wouldn’t so much as think of.

      I assume your prejudice comes from the fact that vim is not a “one size fits all no configuration needed” integrated development environment (IDE) but rather enables the user to personalize it completely to their own wishes, a Personalized Development Environment. In that regard, using one of the “better graphical tools” is like a mass produced suit while vim is like a tailor made one.

      Just let people use what they like. Diversity is a strength.

    • zarkanian@sh.itjust.works
      link
      fedilink
      arrow-up
      0
      ·
      edit-2
      18 hours ago

      Or maybe…hear me out…different people like different things. Some people don’t like GUIs and enjoy working in the command line. For some other people, it’s the opposite.

      It’s just different preferences.

      • masterspace@lemmy.ca
        link
        fedilink
        English
        arrow-up
        0
        ·
        19 hours ago

        I know it has a steep learning curve with no benefit over GUI alternatives (unless you have to operate in a GUI-less environment).

        Which makes it flat out dumb for a professional developer to use. “Lets make our dev environment needlessly difficult, slowing down new hires for no reason will surely pay off in the long run”.

            • PoolloverNathan@programming.dev
              link
              fedilink
              arrow-up
              0
              ·
              16 hours ago

              I have serve-web running as a service, but that only works well on desktop screen layouts — from my experience, it runs terribly on mobile. However, even then, my tab layout isn’t synced between devices. My tmux saves all of my open projects, so I could throw my phone in a woodchipper at any moment, pull out my laptop, and be exactly where I left off. Good luck doing that with vscode.

              • masterspace@lemmy.ca
                link
                fedilink
                English
                arrow-up
                0
                ·
                edit-2
                8 hours ago

                I have serve-web running as a service, but that only works well on desktop screen layouts — from my experience, it runs terribly on mobile.

                Congrats, if you’re trying to write software from your phone you should be fired as a software engineer.

                Again, it is stupid as fuck for any software developer to use VIM. If you have to telnet into some random bullshit server for whatever reason you’re obviously in a different position. But real, good, maintainable software is not written and built by teams insisting on creating learning curves for no reason.