r/learnpython • • Nov 03 '22

VSCode or Pycharm???

I have been using pycharm quite a bit as I am learning. However, I am switching to start using my alienware windows 11 laptop instead of my linux laptop. Easier to see the code I am writing and much more powerful. I like what I am seeing with VSCode. does anyone have any pros and cons between the two?

2 Upvotes

37 comments sorted by

View all comments

25

u/Nabinator Nov 04 '22

VSCode gives more options for programming in general, but for pure Python, PyCharm seems better. It’s all personal preference, imo.

5

u/jimtk IdontChat Nov 04 '22

... for pure python PyCharm is way better.

FTFY.

2

u/hashpot666 Nov 04 '22

Not disagreeing but can you explain why?

3

u/dgiakoum Nov 04 '22

Does many python specific things, venvs, packages, better looking debug (imo), things like safe deleting and refactoring and I assume better code hinting (assuming by comparison of phpstorm with vscode on that one) . Also more self contained, since you don't need 8 extensions to make it work.

3

u/jimtk IdontChat Nov 04 '22

PyCharm is fine tuned for python and not much else. So all compromised for "other" languages are not considered. Which results in:

  • Pycharm understands python venv/pip/poetry environment directly.

  • Access to pypi is direct in the app.

  • Refactoring is a pleasure on Pycharm, a pain in VScode

  • Community edition source code is freely available.

  • Code completion and highlighting is miles ahead in Pycharm

But it is just for Python development. Personally I use both. Pycharm for python and VS-Codium (the open source version of VScode) for everything else.