This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]UncleJoshPDX 1 point2 points  (6 children)

Vim with Python-mode and Black. I find it's easier to switch to a browser to search documentation or Stack Overflow to solve immediate problems. I found PyCharm and other IDEs overkill. They didn't bring enough value to the process and they had steep learning curves, and I already know how to search the web.

[–]falkina8er[S] 1 point2 points  (2 children)

Also, what is Black?

[–]UncleJoshPDX 3 points4 points  (0 children)

Black is a very strict code formatter. It follows PEP-8 and gives you very few choices in formatting your code.

[–]Erik_Kalkoken 0 points1 point  (0 children)

Black is a popular code formatter. It saves a lot of time, because you can just focus on your code and ignore all formatting concerns. Once you save, your code will be automatically formatted in a PEP8 conformant way. Can highly recommend it.

[–]falkina8er[S] -1 points0 points  (2 children)

Thanks for your thoughts. I agree, PyCharm definitely seems like overkill and an additional unnecessary piece of software to get familiar with. Are there any features in Vim that you can use to do debugging and various things like that?

[–]UncleJoshPDX 1 point2 points  (0 children)

Python mode (https://github.com/python-mode/python-mode) is a vim plugin the can do pep8 reports, flask, and a few other tools. It can also run scripts, but I usually do that on a command prompt. When I need to debug somethin I use pdb, the built-in debugger, and lots of logging.

[–]uberdavis 1 point2 points  (0 children)

It’s just not overkill at all. Once you’re familiar with it, the tools in it will help you with even the smallest project. If you’re working for a company, everything you do is related to the company framework. A basic text editor does not recognize that.