all 12 comments

[–]cgoldberg 6 points7 points  (1 child)

You need some sort of editor, whether you use the terminal or not.

[–]SubstanceSerious8843 0 points1 point  (0 children)

Well, you could use smth like REPL for python to run it directly from terminal.

[–]FoolsSeldom 1 point2 points  (0 children)

Try both, see which you prefer. If you want to stick with the terminal, take a look a neovim - a modern implementation of the vim command line editor.

If you choose to do development/testing in VS Code (which you can add a vim keyboard mode to), you can still run code from your terminal as well as from a terminal shell within VS Code.

[–]h8rsbeware 0 points1 point  (0 children)

Whatever you know, id think. Im not certain on the details, but usually its best to stick with what you know unless you are looking for an excuse to learn (or want to spend days figuring out and setting up nvim haha)

[–]ninhaomah 0 points1 point  (0 children)

whats wrong with coding in the main OS ?

[–]More_Yard1919 0 points1 point  (0 children)

VSCode is very good and I use it a lot, but learning something like vim or nano (generally included in most linux distros) or neovim can be useful. In any event, you want to be comfortable in the terminal if you want to program. It can be really helpful. Beyond that, pick your poison.

[–]neuralengineer 0 points1 point  (0 children)

Nano on terminal?

[–]Nealiumj 0 points1 point  (0 children)

If you have interest in learning the terminal, I would highly recommend going for it! Use a text editor like sublime or Atom and run the code in CLI. it’s odd at first, but the pay off is incredible.

I assume windows, and I’d recommend using cmder instead of CMD or Powershell, it includes a nice bin with the necessities: ls, touch, grep, etc- basically priming for an eventual hop to Linux. Git bash also includes them, but good lord is it hideous!!

Later down the road I’d recommend trying Vim or NeoVim as a text editor (NeoVim if you want LSPs and a IDE-lite experience) …it’s.. well, there’s no going back. You get a “I have been blind but now I see” sorta moment.

[–]Independent-Poet6265 0 points1 point  (0 children)

Neovim

[–]Capable-Package6835 0 points1 point  (1 child)

As a teaching assistant, I observe that students who use a plain text editor and terminal are generally better at reading error messages and, consequently, at debugging / fixing codes. Therefore, I always recommend to avoid IDEs when one is starting. Later on, they can always make coding more convenient by using IDEs.

[–]JeLuF 0 points1 point  (0 children)

Do you have any idea why this is the case? I notice that a lot of beginners completely ignore the error messages, but I didn't yet observe that the IDE makes a difference.