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?

30 points

In this Thread: people telling you how IDEs suck then proceed telling you how to turn their terminal based text editor into an IDE

permalink
report
reply
4 points

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

permalink
report
parent
reply
3 points

Yes but people should also factor OP’s experience into recommendations. They are not a regular developer, self-taught programmer who uses C++ for work. They are probably not familiar with many build-chain internals, command line debuggers, and compiler search paths. So while everyone in this thread can probably agree that something like code completion is better than not having code completion, I think it’s also fair to get op started with something quick and easy like VSCode and then once they are comfortable they can go figure out how to install cool plugins for neovim

permalink
report
parent
reply
2 points

Yup that’s also true, I’ve hit the wall multiple times when trying to use vim/emacs. Now I’m in neovim and feel like I get a better understanding of buildsystems but I won’t say it’s something that everyone should start with. I don’t know what the C/C++ intellij is though. On windows it’s probably visual studio. On Linux maybe vscode but I’d say if op wants to try some morw serious ide then clion may be a better choice

permalink
report
parent
reply
2 points

For beginners you’re right, but once you’ve done that one time and understand how it works, it no longer provides value and often results in slower productivity.

permalink
report
parent
reply
2 points

Yea I put it into the same category with manual arch/gentoo installation. It’s definitely worth to do one time and understand the process. Then it’s up to you whether you want to have stuff that just works out of the box or you find pleasure in tinkering and customizing the environment along with trying to get things done

permalink
report
parent
reply
24 points
*

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.

permalink
report
reply
4 points

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.

permalink
report
parent
reply
3 points
*

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.

permalink
report
parent
reply
2 points

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.

permalink
report
parent
reply
2 points

VSCode + Vim extension is where it’s at

permalink
report
parent
reply
1 point
*
Deleted by creator
permalink
report
parent
reply
1 point

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.

permalink
report
parent
reply
1 point

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?

permalink
report
parent
reply
1 point

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.

permalink
report
parent
reply
1 point
*

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.)

permalink
report
parent
reply
11 points

It’s worth figuring out an IDE “lite” like vscode to see how you go. It’s pretty lightweight and easy to spinup compared to something like IntelliJ

permalink
report
reply
10 points
*

I use vim, and I can safely say, it was worth bothering to learn it and set it up, ESPECIALLY if you make a career out of it, and one time I had a friend who didn’t use an IDE and I showed him how much easier it was to do certain things on vim and he felt very very stupid for using notepad.

permalink
report
reply
2 points

I’ve moved to neovim myself after 20+ years of vim and 30+ years of programming with various editors and even monitors. I’ve used IDEs when in projects where everyone does and where the build may rely on them (yes, that’s a disaster) or when it’s the only tool offered (old obscure embedded systems). But I’ve never wanted to use any of them or found the results useful. Debuggers and editors can be extended to do anything extra an IDE does.

Extra tips: Helix might have an even better command system. Kate almost works like an IDE and offers a vi command mode in a GUI editor.

permalink
report
parent
reply
6 points

being able to immediately jump to a line, jump to columns, have line numbers on the left, have css colors show up like this: https://github.com/RRethy/vim-hexokinase

It’s been awesome for me!

I do actually use neovim though.

permalink
report
parent
reply
3 points

Tbh, that just sounds like an IDE with extra steps. IntelliJ for example does all of those things as well IIRC and you don’t need to rely on third-party tools.

Of course you’ll learn a lot more along the way if you configure vim to effectively be an IDE, but the end result is not that different.

permalink
report
parent
reply
7 points

Interesting question. Personally, I started with a text editor transitioned to vim, then to VSCode and now I’ve settled on a customised neovim install.

I’m a believer of PDE, that is personal development environment. It’s a concept one of the Devs of Neovim TJDeVries talks about.

In essence it’s the idea of building your development environment how you want it. Personally, Neovim allows me to do this. For example, I have a VSCode style debugger, incredibly fast searching with ripgrep, vim keyboard shortcuts and uses the same language servers as jetbrains products.

Here’s a link to his full conversation on the topic: https://youtu.be/QMVIJhC9Veg

Stay awesome!

permalink
report
reply
2 points

Can you elaborate on your debugger?

I’ve been trying to switch to neovim, and I’ve got a pretty decent setup with treesitter and also lspconfig. My search and debugger are still non-existent and I’m not sure what is best.

I write python and c/c++ (for MCUs) at work, and I’m curious what the state of integration with potential debuggers is.

permalink
report
parent
reply

Programming

!programming@beehaw.org

Create post

All things programming and coding related. Subcommunity of Technology.


This community’s icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

Community stats

  • 73

    Monthly active users

  • 320

    Posts

  • 3.3K

    Comments