I ended up choosing VS Code

Programmer's Treasure Repository : GitHub - Jackpopc/CS-Books-Store: The classic computer books you want are all here!

Python is one of the most popular programming languages ​​in the world, and because it is so easy to learn, many people start programming in Python, including myself.

Python is beginner friendly, has a relatively simple syntax, has community support for many libraries and frameworks, and is very versatile.

However, beginners often have to ask themselves what integrated development environment (IDE) or editor to use. I also faced this challenge, and while there are several IDEs and code editors available for Python, PyCharm and VS Code have remained Python developer favorites over the years.

Both PyCharm and VS Code are excellent tools for writing Python code. Crucially, however, PyCharm is an IDE, while VS Code is a code editor that provides an IDE-like experience through extensions.

In this post, we will compare PyCharm and VS Code using the following metrics: price, memory consumption, configuration process, code management, extensions, and Git integration.

let's start!

price

PyCharm

JetBrain's PyCharm is available in three editions. The Personal Professional Edition costs $89 for the first year, $71 for the second year, and $53 for the third year onwards. The Professional Edition for organizations costs $199 for the first year, $159 for the second year, and $119 for subsequent years.

img

PyCharm Community Edition and Education Edition are both free, open source projects. However, both versions lack certain features such as support for remote development, a Python analyzer, duplicate code detection, database support, and some web development tools.

VS Code

On the other hand, VS Code is an open source project and is free for both commercial and private use.

No matter what type of project or language you plan to write in VS Code, it has features like version control, third-party integration, and bug tracking.

VS Code does not come with any plugins pre-installed, so you must manually install the necessary plugins for your Python project.

You can install as many plugins as you need or desire, all for free.

memory consumption

Every user wants to choose one that takes up the least space, uses the least amount of memory, and runs smoothly on our computer system without being slowed down by a certain tool.

PyCharm

Downloading the community edition of PyCharm takes about 372MB, which might not seem like a lot.

However, when I run PyCharm on my system, it consumes about 400MB of memory.

VS Code

VS Code, on the other hand, is very lightweight, requiring only about 76.2MB to download, consuming only about 40MB of memory on my computer.

Probably due to the size difference, PyCharm takes three to five minutes on my machine to load and open, while VS Code starts right away.

In my opinion, the difference between the two is obvious.

If managing your computer resources is a priority, then VS Code is a better choice.

configuration process

PyCharm

Setting up both PyCharm and VS Code is fairly easy.

However, PyCharm is explicitly made for Python, while Microsoft's VS Code is for a different programming language.

So, with PyCharm installed on your machine, you don't need much to start writing your code.

VS Code

To set up VS Code, you'll have to spend some time customizing it to your Python needs, which requires you to review and download various extensions such as Python, Python Indent, Python Snippets, and others.

However, doing so gives you more control over the appearance, content, and purpose of your workspace.

Setting aside, I found VS Code easier to navigate, understand, and work with because its interface is beginner-friendly, welcoming, and easy to navigate.

It doesn't look cluttered and you can easily find any function or feature you need by searching.

code management

Code management includes features such as code completion, syntax highlighting, code formatting, and hinting.

The right choice depends on how easily everyone can help you write and understand Python code.

Overall, I think both tools have similar capabilities and overall provide an excellent code management system.

PyCharm

img

A key feature of PyCharm is "Search Everywhere", which allows you to search outside the scope of your project.

You can find files, classes, symbols and UI elements etc. even if it is not in your current project.

VS Code

img

VS Code will automatically highlight areas with potential errors in red, making it easier for you to find and fix errors.

VS Code goes even further and includes an issue tag that lists all potential bugs in one place, making it easier for you to review them, as shown in the image below:

Note that to use Python in VS Code, you need to have a Python formatter and linter installed.

expand

Both PyCharm and VS Code provide important extensions and plugins to make each developer's experience as perfect as possible.

Extensions and plugins are a great way to add more functionality to your tool or application.

PyCharm

There are over 3000 JetBrains plugins available for PyCharm, and PyCharm is compatible with them all.

VS Code

VS Code wasn't built just for Python. Therefore, you may need some extensions to make the code editor more like an IDE that is very Pythonic.

One of the nice things about VS Code is that it can detect the type of project you're working on and then suggest and enable the necessary extensions for that project.

For example, if your project is cloud-based or requires cloud plugins, you can expect VS Code to make recommendations based on the scope of the project and plugins already installed on your computer.

You can install and enable an extension directly in the application, or you can visit the VS Code marketplace to search for what you need.

At the beginning of 2020, there were approximately 16,000 extensions available for VS Code. New extensions are constantly being developed and added to improve the developer experience.

Database integration

PyCharm

PyCharm uses a plugin called Database Navigator that allows you to connect to MySQL, Oracle, PostgreSQL, etc. databases within your application.

With the PyCharm database tool, you can create a database connection, issue queries to the database, receive database objects, and more.

However, this is only available on the pro version and you need to pay for it.

VS Code

Database integration is also available on VS Code by using an extension called SQLTools.

However, VS Code's integration still leaves a lot of room for improvement. Beginners may find it difficult to use or navigate, and it may be subject to bugs.

On the other hand, PyCharm's database integration seems to be more thorough.

Git integration

A version or source control system is essential for every developer to store and modify their projects.

Both PyCharm and VS Code have Git integration, you can create a new Git repository, clone an existing repository, open an existing repository, stage changes, non-stage changes, commit changes, checkout to different branches , create a pull request, etc., all within the app.

Both of these tools provide excellent support for GitHub, and honestly, it's hard to judge both as good or bad.

terminal tool

The terminal emulator is one of my favorite features of VS Code because it allows you to get all kinds of work done on the system without leaving the application.

img

I am able to run Linux commands, Windows commands, Git commands, and more.

Epilogue

Every developer has their own habits and preferences, and it is difficult to determine who is better to use

If you want a full-fledged, dedicated, well-configured Python, then PyCharm is the way to go.

However, if you like something lightweight that offers free customization, then VS Code is preferable.

Both are great tools that can serve different purposes, depending on how you choose to use them.

Finally, everyone is welcome to add vx: code_7steps for technical exchanges with me!


Hello everyone, I'm Jackpop! I spent half a month putting together various technical dry goods collected in the past few years, including but not limited to Python, machine learning, deep learning, computer vision, recommendation system, Linux, engineering, Java, content Up to 5T+, acquisition method: technical dry goods _ free high-speed download | Baidu network disk - unlimited sharing (extraction code: 0000)

Supongo que te gusta

Origin blog.csdn.net/jakpopc/article/details/122378885
Recomendado
Clasificación