So, I have been mostly self thaught programmer (C++), as its a big part of my job (not a regular developer). But so far I have been using a simple text editor like Geany to code and I compile stuff either in terminal (linux) or produce my own make file.

I am starting to wonder if I should switch to a full IDE, as I am on linux, I was thinking of trying KDevelop. But I am simply not sure if its worth, do I even need it?

I have never used an IDE, it seems kind of complicated for the start with “projects” and I havent really found any good introductions to how this workflow is supposed to work.

Do you think using and IDE is something everyone should use? Or do you think a text editor with producing your own make files should be enough?

  • SNEWSLEYPIES
    link
    fedilink
    arrow-up
    24
    ·
    edit-2
    1 year ago

    For my money: yes, you should use an IDE or something like one, but not because you’re “missing out” - rather, because a plain text editor will limit your progress.

    There are (still!) people around who think it’s some sort of badge of honour to only use text editors, but in reality, this means they miss the syntax errors and typoes that we all make because we are human, and end up wasting hours looking for them when an IDE would let them see them.

    You wouldn’t turn up at a cookery school saying “I’m still a beginner, so I’m only going to use this pair of scissors” - specialised knives and utensils are part of the chef’s toolkit, and becoming a better chef is just as much about learning to use them effectively as it is about memorising recipes. It’s the same with programming.

    • isosphere@beehaw.org
      link
      fedilink
      arrow-up
      4
      ·
      1 year ago

      I stick with vim for years out of that sort of badge of honor. Now I use vscode and nobody is taking it from me.

      You can do almost anything in vim or emacs, but I can do it faster in vscode. It’s a really fantastic tool and it’s completely free.

      • _bug0ut@lemmy.world
        link
        fedilink
        arrow-up
        4
        arrow-down
        1
        ·
        edit-2
        1 year ago

        I stick with vim because every time I try to use vscode, I get so bogged down trying to set things up and figure out how to use it that I end up just being like, “eh, fuck it - I’ll do this later.”

        Some younger admins and engineers look upon me with awe, but really I’m just secretly a really lazy bastard. I don’t even pack plugins into vim anymore to make my life easier. Just plain old vanilla vim.

        • Hexorg@beehaw.orgM
          link
          fedilink
          arrow-up
          2
          ·
          1 year ago

          At the end of the day there’s some cost-benefit analysis for time spent setting up environment vs time saved by previously setup features. Autocomplete saves a good amount of time but even something like same-file-word suggestion can save a lot of time without any setup.

          • _bug0ut@lemmy.world
            link
            fedilink
            arrow-up
            1
            ·
            1 year ago

            Yeah, for sure - I don’t deny that at all. For me, it’s a confluence of general burnout, laziness, and comfort with what I already know… and likely not a really urgent need to move to a proper IDE. The majority of my coding is small, one-off Python scripts where I can :wq and run it and then open it back up to refine, fix bugs, add debugging prints, etc.

            • Hexorg@beehaw.orgM
              link
              fedilink
              arrow-up
              2
              ·
              1 year ago

              Even for that there are some nice (vim and otherwise) features where clicking on an error automatically opens up the right file and sets the cursor at the location of the error. Or just seeing errors in a separate panel from the rest of the code.

              • _bug0ut@lemmy.world
                link
                fedilink
                arrow-up
                1
                ·
                1 year ago

                Yeah, I used to configure vim with syntax highlighting and auto-suggestions and whatever else. I just like… don’t anymore. I’ve been feeling less burned out over the last few months and it seems, at least, like its still lifting slowly. Maybe when I get the energy back, I’ll take another crack at vscode.

      • Deebster@beehaw.org
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        Do you use the vim plugin for VSC to keep your speedy navigation? I miss things like “select up to the next quote” but I’m not enough of a vim user to make the switch myself.

    • green_pyroxene@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      for statically-typed languages, i agree that having powerful static analysis tools can help a lot, but why would you need an IDE just to catch “syntax errors and typos”? any editor with decent syntax highlighting would work for that, right?

      • SNEWSLEYPIES
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        why would you need an IDE just to catch “syntax errors and typos”?

        an IDE or something like one

        😉

        …anyway, there’s more to it than syntax and typoes, naturally. They’re just an example.

        • green_pyroxene@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          edit-2
          1 year ago

          my point was that OP was opposing Geany, a text editor with syntax highlighting, to “real” IDEs with more features. clearly, it’s those additional features that they’re wondering the merit of. (personally, i don’t think it’s as limiting as you’re claiming, but it’s pretty subjective.)