• spacecadet@lemm.ee
    link
    fedilink
    arrow-up
    28
    arrow-down
    1
    ·
    2 months ago

    Interesting comment on the Mac. At my workplace we can choose between Mac or Windows (no Linux option unfortunately, my personal computer runs Debian). Pretty much all the principle and senior devs go for Mac, install vim, and live in the command line, and I do the same. All the windows people seem over reliant on VSCode, AI apps, and a bunch of other apps Unix people just have cli aliases for and vim shortcuts. I had to get a loaner laptop from work for a week and it was windows. Tried using powershell and installing some other CLI tools and after the first day just shut the laptop and didn’t work until I got back from travel and started using my Mac again.

    • _____@lemm.ee
      link
      fedilink
      English
      arrow-up
      22
      ·
      2 months ago

      If you don’t have access to Linux, MacOS is the closest commercially available option so it makes sense.

      Also please take what I said lightly, I by no means want to bash Mac users and generalize them. It just has been my experience. I’m sure there are thousands of highly competent technical users who prefer Mac.

    • ichbinjasokreativ@lemmy.world
      link
      fedilink
      arrow-up
      3
      ·
      2 months ago

      I have to use windows for work. Installed vim through winget and set a powershell alias, allowing me to use it similarly to linux. Windows ist still just ass though.

      • Trainguyrom@reddthat.com
        link
        fedilink
        English
        arrow-up
        4
        ·
        2 months ago

        WSL is interesting because it manages to simultaneously offer everything a Linux user would want while also actually capable of none of what a Linux user would need it to do. Weird compatibility issues, annoying filesystem mappings that make file manipulation a pain, etc

        In a Windows environment I’ve found it honestly works better to either ssh into a Linux machine or learn the PowerShell way of doing it than to work through WSL’s quirks

    • masterspace@lemmy.ca
      link
      fedilink
      English
      arrow-up
      14
      arrow-down
      33
      ·
      edit-2
      2 months ago

      Lmao, devs who insist on using 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.”

        • masterspace@lemmy.ca
          link
          fedilink
          English
          arrow-up
          7
          arrow-down
          27
          ·
          2 months 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
            9
            arrow-down
            3
            ·
            2 months ago

            I can run Neovim on my phone via Termux. I can run Neovim over SSH. I can run Neovim in tmux. That’s not possible with VSCode.

              • PoolloverNathan@programming.dev
                link
                fedilink
                arrow-up
                3
                arrow-down
                2
                ·
                2 months 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
                  5
                  arrow-down
                  5
                  ·
                  edit-2
                  2 months 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.

      • zarkanian@sh.itjust.works
        link
        fedilink
        arrow-up
        15
        ·
        edit-2
        2 months 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.

      • PlexSheep@infosec.pub
        link
        fedilink
        arrow-up
        11
        arrow-down
        2
        ·
        edit-2
        2 months 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.

      • Zangoose@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        2 months ago

        You know neovim can use the exact same LSPs (Language Server Protocol) for intellisense as VS Code right? There’s intellisense, git integration, code-aware navigation, etc. Neovim can be everything VS code is (they’re both just text editors with plugins), except Neovim can be configured down to each navigation key so it’s possible to be way more efficient in Neovim. It’s also faster and more memory edficient efficient because it isn’t a text editor built on top of a whole browser engine like VS Code is.

        I use a Neovim setup at home (I haven’t figured out how to use debugger plugins with Neovim and the backend I work on is big enough that print debugging endpoints would drive me insane) and I can assure you I have never given variable names one letter unless I’m dealing with coordinates (x, y, z) or loops (i, j) and usually in the latter scenario I’ll rename the variable to something that makes more sense. Also, we don’t do it to seem hardcore, it’s because there are actual developer efficiency benefits to it like the ones I listed above.

        By your own logic you “can’t be bothered” to learn how to edit a single config file on a text editor that has existed in some form for almost 50 years (vi). Stop making strawman arguments.

      • Klicnik@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        3
        arrow-down
        4
        ·
        2 months 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
          2
          arrow-down
          3
          ·
          edit-2
          2 months 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 on git merge. This is literally ‘working as a software developer on a team 101’.