this post was submitted on 10 Sep 2023
63 points (95.7% liked)

General Programming Discussion

7794 readers
7 users here now

A general programming discussion community.

Rules:

  1. Be civil.
  2. Please start discussions that spark conversation

Other communities

Systems

Functional Programming

Also related

founded 5 years ago
MODERATORS
 

Hey everyone!

I was just wondering why one would use any of the programs I mentioned above instead of VS Code to write Code.

Can someone give me a brief overview of the advantages?

Thanks in advance!

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 20 points 1 year ago* (last edited 1 year ago) (2 children)

They work in terminal. To me a more interesting question would be, why VSCode over PyCharm for Python for example.

[–] [email protected] 11 points 1 year ago (2 children)

Vscode with plugins works for many many languages good enough and the git integration is good. So if your job is like mine where you support many systems then having a common tooling is nice. Also you can setup containers with different configurations all ready for various projects.

[–] [email protected] 5 points 1 year ago (1 children)

Vim/neovim with plugins does exactly the same but uses less system resources. Lunarvim is a good place to start for a preconfigured neovim IDE.

Emacs will also be similar but I'm not as familiar with it.

[–] [email protected] 3 points 1 year ago

There is also LazyVim which I personally am loving

[–] [email protected] 1 points 1 year ago (1 children)

But does actually work like an IDE? I for example love PyCharm understanding type annotation. Not only it highlights errors, but also improves autocompletion and makes big refactoring less scary.

The integration with data grip (unfortunately that's available in paid version) allows for similar behavior with SQL contained in strings. Which IMO fixes the impedance mismatch that created the need for query builders and ORM frameworks.

[–] [email protected] 2 points 1 year ago

VS Code has some pretty good ide features for python, including understanding types, highlighting errors and warnings, linting, navigation features such as go to definition or go to references, and basic refactoring capabilities like rename symbol. These features are enabled by the python language server (pylance, in this case, which is Microsoft's proprietary one).

You can also get the same features in other editors that support the language server protocol. For example, I use neovim and my setup supports those same IDE features I used to use in VS Code for python.

[–] [email protected] 8 points 1 year ago

+1: ed/vi/vim is on every system with a shell, if you can ssh into it, you can edit files using those tools, it's worth knowing them.

Nano is adorable, and EMACS is notoriously huge, both in capabilities and learning curve.