r/learnpython • • May 06 '21

What are some programming tools that every beginner programmer should know about?

Example, today I learned about Git and GitHub and it felt incredible.

480 Upvotes

190 comments sorted by

View all comments

25

u/xelf Elf May 06 '21

There's already been some great suggestions. I'm going to toss this out there: learn a programmable editor as well. For me I went with emacs. I still use emacs regularly alongside Visual Studio and VSCode. There are times where having a programmable editor just offers you additional options.

Don't be intimidated by people that say there's a steep learning curve, it takes 15 minutes to learn the basics and to be able to manipulate things.

Sure you can spend a lifetime learning to master it, or writing your own lisp code for it, but the basics are really, well basic. Cut/paste, search, upcase region, capitalize word, record some key strokes, repeat those keystrokes 50 times. Open a shell window and compile and execute code.

It's a small investment in time for what could be a huge pay off over the next several years of use.

3

u/wonteatyourcat May 06 '21

Is there a point to learn eMacs if you don’t program in Linux? In 4 years of programming python (on windows) i never used it, even though I know how to. Even when I program for my raspi. My IDE and notepad++ are both more convenient and easier to use, especially with multiple files. It seems very server-centric.

4

u/vectorpropio May 06 '21

Is there a point to learn eMacs if you don’t program in Linux?

Emacs is your OS.

3

u/xelf Elf May 06 '21

I use it on windows mainly. So I guess, yes? =)

It's one of those tools where knowing how to use it can save you a ton of hassle that one time you need it, and suddenly it was worth it.

I also like having it as the default text editor instead of notepad for any text file format.

3

u/wonteatyourcat May 06 '21

I understand you like to use it, but can you give me an example of the one time it saved you a ton of hassle? Not bashing, I'm trying to understand why I would switch to it when pycharm and notepad++ do everything I need and more.

2

u/xelf Elf May 06 '21

I don't recommend switching to it. It's just an additional tool to add to your toolbelt.

Most of the things I find easier to do in it are basic text editing:

  • upcase/downcase/titlecase region/word

  • regex replace

  • record a macro ^x( type many keys ^x) and then execute the macro a bunch of times. Very handy when manipulating text files that are in a broken format and each line needs the same treatment.

5

u/wonteatyourcat May 06 '21

All of these are one shortcut away in notepad++ so I still don't see it being useful for me, but thank you for your answer :)

2

u/xelf Elf May 06 '21

Like I said, adding a programmable editor is a great tool to have access too. It doesn't have to be emacs. If you can already program macros in notepad++ and then execute them an arbitrary number of times then you're probably already in good shape.

One other thing I mentioned in another response was I like how cross platform emacs is, whether you're running it in a dos/cmd/bash shell, or as a window on linux/mac/windows whatever.

If you're only ever going to use windows then notepad++ is probably fine.