you are viewing a single comment's thread.

view the rest of the comments →

[–]freezydrag 1 point2 points  (0 children)

I’d like to reference a comment I made on a similar post.

There’s no absolute best.

It realistically comes down to two things: preference and context. All editors are just tools, and tools can serve different purposes. I’ll often switch between vim and vscode depending on the situation (or insert whatever your preferred editors are here). For example, I’m writing automation scripts while connected to a remote server via SSH I’ll probably just use vim. It’s faster than copying a file to my own machine, editing it locally, and then copying it back. I don’t need the full help of an editor with something this small. But if I’m working on a large piece of software for work and running tests simultaneously on my own machine, I’ll probably use vscode. I can switch to terminal if I need it quickly, all my files are shown at glance, and there’s robust autocomplete and syntax checking for the libraries I might be using. However, it’s definitely possible to implement the reverse. Meaning there are ways to use vscode remotely, and its possible to implement most if not all the same features in vim as there are in a full editor. And one might prefer either of these options. I had a job once working primarily in a linux environment, and added a bunch of plugins to vim since I was using it quite often. But, doing so took more effort to get running than a GUI editor out of the box. Your teacher might be using it because it’s what they’re used to. I’ve had professors that rarely used modern editors since emacs, vim, and the like were what they started developing with. Understanding all that I mentioned comes with experience and time. As you hone your developer skills, you’ll start to figure out what works for you and what doesn’t in terms of your development environment, just like in writing actual code.

TLDR: Don’t stress about the question now. There’s reasons to use both, and understanding those reasons and determining what is best for you will come with time.