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?
In this Thread: people telling you how IDEs suck then proceed telling you how to turn their terminal based text editor into an IDE
There’s a learning experience to it though. When coding in intellij I’m just using writing some java without deep understanding how the build system works ans what’s done underneath. Setting up some nvim with lsp forces you to focus more on the whole process so I’d say it can be beneficial
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.
I started as a sysadmin in 1995 and started programming not long after that. I spent most my time in a shell and vim, started writing python all in vim. Then I took on a project that was a graphical application for windows and OS X. It was a rewrite of a windows visual basic app that we did not have the source for, so now good opportunity to write a multi platform application.
I wrote that program in python/pyQt3. Started on linux (which it also ran on) decided to look at IDE’s to help with pyQt I found Eric3. It made writing the first app and many after a lot easier.
So moved on from there a few years later and I use Jetbrains Pycharm commercial if I am writing anything bigger then a quick script I will do it in Pycharm.
Some of the things I like in Pycharm.
- really good vim emulation
- the linter finds code problems very well
- completion is great
- debugger is fantastic I rarely use a print to debug but it still happens
- Increase’s productivity, hard to see at first.
I strongly recommend looking at IDE’s start with Kdev and see where it goes also try the trial version of Jetbrains Clion. https://www.jetbrains.com/clion/
It feels like a lot of extra work to learn an IDE but it pays in productivity. Watch some videos on Clion.
A good IDE takes the basics and supercharges them.
Navigation along with block expand/collapse, make reading code much easier, they allow you to focus on what really matters.
Syntax highlighting, inspections, and formatting allow you to focus on what you write and not if you missed a semicolon.
Visual debugging is so much better that you just have to try it once, no debate.
Run configurations, especially for tests, are a nice treat if you running multiple apps/different configurations.
While there are many benefits to using an IDE, you have to keep in mind that they are not an one for all solution. Sometimes it’s better to open a terminal.
Also, they are great as long as they assist your flow and not disturb it, you will need to spend time to figure out the configuration that works for you. I have been changing IDE configurationd since 2012 when I first used eclipse.