r/learnpython • u/rekindled77 • 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?
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.
2
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.
2
3
u/StabledGenius Nov 03 '22
Vscode > *
-32
u/rekindled77 Nov 03 '22
Best response here!
24
u/NightlyWave Nov 04 '22
What’s the point of even making this post when you’re coming into it close-minded
0
6
Nov 03 '22
It's pure personal preference. I think PyCharm is the way to do if you're purely a python programmer, but if you work in other languages and want consistency, VS Code is probably your best bet.
5
u/thelostcow Nov 03 '22
I’ve never had a company tell me I can’t use vscode, but I have had companies I’ve worked for tell me I can’t use pycharm. Take that info and do what you will with it.
5
u/Avara_HA Nov 03 '22
I'm not a super experienced coder but I've used both for several months for school projects. I really liked pycharm, but I really liked the integrated live server on vsc for other languages like html. My personal recommendation is vsc for flexibility
3
2
u/mfb1274 Nov 04 '22 edited Nov 04 '22
Pycharm has a cult following imo. It does python really well but others coming from different IDEs/languages may not like it. VSCode offers everything for every language under the sun and opens it to the community.
Imo VSCode is the way to go purely for community support and endless optimization. I think py charm lends itself more to those just starting with python because, well, it’s optimized for python.
Imo development in python doesn’t end in simply python. Web devs use html, css, JS, ts, (insertx)s. Game devs use many other files other than .py. ALL development benefits from shell scripts and yaml/Json files. VSCode is simply better/free for these, plus once configured for python, easily holds its own and can fit your development flow just as much, if not better than pycharm.
2
2
Nov 04 '22
I use pycharm for python and vs code for everything else.
1
Nov 04 '22
Same here. pycharm for a pure python git repo and vscode with another repo of mostly groovy files for DSL jobs. Nice being able to have both open at the same time.
1
1
u/Hurydin Nov 04 '22
For me, VS Code is way better, I used to learn (still do) web development before python, so I'm used to VSC, as others have mentioned, Pycharm is for pure python, and I like VSC because I can do web dev, python or any other language in it, and honestly I'm not sure if there is a major difference for python programming in either of these two, but others can correct me.
1
1
u/EveryNameIsTaken142 Nov 04 '22
I always liked installing packages or managing virtual environment through terminal only so I always use VS Code.
1
u/McSlayR01 Nov 04 '22
I use Pycharm almost entirely because of the type-checking support. It is immensely useful because Pycharm will let you know if you've passed an argument that is of the wrong type.
1
u/borkusgod Nov 04 '22
I definitely prefer PyCharm for python but learning vs code is definitely going to help you if you want to work in a coding house because nearly all use vs code and like some have said some will even say you can't use PyCharm there. And for me personally, I find it hard to go from PyCharm to vs code so I try to brush up on it from time to time just so I don't get rusty. Both are free so I definitely recommend getting comfortable with both.
1
u/DTheIcyDragon Nov 04 '22
I have both but almost only use pycharm because it also has syntax highlighting for so many other languages either built in or in the plugin store
1
u/JennaSys Nov 04 '22
I am primarily a Python developer but also use PyCharm for HTML, JavaScript, TypeScript, LaTeX, MarkDown, Solidity, SQL, CSS, and more. It has built-in support for Flask and Django, and integration with Docker, Databases, GitHub, AWS, and others. It also has built-in terminal access with effortless Python virtual environment creation, package management, and a Python REPL. Contrary to what some people believe, it's way more than just a Python IDE. I do use the pro version, but the <$5 USD / month I pay for it as as working software developer is well worth it.
But in the end, what you use comes down to personal preference.
1
1
u/Atlamillias Nov 04 '22 edited Nov 04 '22
VSCode is really nice after you configure it and install extensions. It's lighter overall (text editor as opposed to a full-fledged IDE) and can be used to develop with other languages. I've been using it for years without regrets. I've tried a few other IDE and editors, but they lacked customization. The installation is also more portable -- adding a "data" folder to the installation directory will prevent VSCode from writing to Appdata on Windows and will store all data in that folder. PyCharm on the other hand leaves traces in like 3 different locations on your file system.
People swear by PyCharm, but I've never really liked it. As a novice I also used it, and felt that always adhering to the "project" structure and virtual environments very annoying (and confusing, since Python was my first programming language). Regardless of my personal opinions, it is the best Python-dedicated IDE out there. It had a solid debugger and language server (IIRC the language server likes to nit-pick, for better or worse). As a full IDE, it is very heavy, but has all of the tools you'll need to develop in Python at the ready.
1
u/__developer__ Nov 04 '22
I'm a full-stack developer and use VSCode over PyCharm. VSCode has many more options and features available in general for many languages and tools, so in the end feels more practical if you're not just going to be reading/writing Python.
0
9
u/[deleted] Nov 03 '22
Pycharm is quite heavy but it has everything you could ever need and then some.