Need advice about which tool to choose?Ask the StackShare community!

pre-commit

153
39
+ 1
0
PyCharm

21.7K
18K
+ 1
427
Add tool

pre-commit vs PyCharm: What are the differences?

What is pre-commit? A slightly improved pre-commit hook for git. pre-commit checks your code for errors before you commit it. pre-commit is configurable.

What is PyCharm? The Most Intelligent Python IDE. PyCharm’s smart code editor provides first-class support for Python, JavaScript, CoffeeScript, TypeScript, CSS, popular template languages and more. Take advantage of language-aware code completion, error detection, and on-the-fly code fixes!.

pre-commit belongs to "Git Tools" category of the tech stack, while PyCharm can be primarily classified under "Integrated Development Environment".

Some of the features offered by pre-commit are:

  • debugger: make sure you don't commit a debugger statement
  • tabs: make sure your code uses leading spaces instead of tabs
  • whitespace: make sure you don't commit trailing whitespace

On the other hand, PyCharm provides the following key features:

  • Syntax highlighting
  • Auto-Indentation and code formatting
  • Code completion

pre-commit is an open source tool with 755 GitHub stars and 96 GitHub forks. Here's a link to pre-commit's open source repository on GitHub.

Advice on pre-commit and PyCharm
christy craemer
Needs advice
on
PyCharmPyCharmIntelliJ IDEAIntelliJ IDEA
and
EclipseEclipse

UPDATE: Thanks for the great response. I am going to start with VSCode based on the open source and free version that will allow me to grow into other languages, but not cost me a license ..yet.

I have been working with software development for 12 years, but I am just beginning my journey to learn to code. I am starting with Python following the suggestion of some of my coworkers. They are split between Eclipse and IntelliJ IDEA for IDEs that they use and PyCharm is new to me. Which IDE would you suggest for a beginner that will allow expansion to Java, JavaScript, and eventually AngularJS and possibly mobile applications?

See more
Replies (12)

Pycharm is great for python development, but can feel sometimes slow and community version has Somme very annoying restrictions (like they disabled jupyter notebooks plugin and made it premium feature). I personally started looking into VS Code as an alternative, and it has some very good potential. I suggest you take it into account.

See more
Recommends
PyCharmPyCharm

The Community version of PyCharm is free and should give you what you need to get started with Python. Both PyCharm and IntelliJ are made by JetBrains. IntelliJ is initially focused on Java but you can get plugins for lots of other things. I subscribe to JetBrains' Toolbox: https://www.jetbrains.com/toolbox-app/ and have access to all of their great tools.

See more
Charles Nelson
Recommends
IntelliJ IDEAIntelliJ IDEA

I couldn't imagine using a development tool other than the IntelliJ IDEA Ultimate All Products Pack. A single license allows me to work directly on my server running Ubuntu and/or my workstation running Windows 10 Pro simultaneously. My current project uses HTML, W3CSS, JavaScript, Java, Groovy, Grails, C, GO, Python, Flask, and Rust. For me it's worth every penny of the $150 license fee. And you can try it for free.

See more

Hi, I will give my opinion based on my experience. I have used PyCharm, both community and Professional version. The community has limited functions, like you can't use a Jupyter notebook whereas it's available in the Professional version. PyCharm is slower compared to Visual Studio Code. Also Visual Studio Code is an editor which supports various languages. I myself have used both Visual Studio Code and PyCharm. I feel Visual Studio Code would be better choice. You may as well decide based upon your requirements.

See more
awesomebanana2018

Visual Studio code is easy to use, has a good UI, and a large community. Python works great with it, but unlike some other editors, it works with most languages either by default or by downloading a plugin. VS Code has built in linting, syntax coloring, autocompletes (IntelliSense), and an api for plugins to do there own tooling.

See more
Ivan Martinez Morales
Software Engineer Intern · | 4 upvotes · 435.2K views

I'd personally recommend Visual Studio Code as it gives you the flexibility of working in any language, so long as there are extensions to support it. It gives you the flexibility to learn Python, venture into Java, Javascript, and eventually AngularJS, and potentially mobile applications. It's also free and you can install it on your personal computer. I think Visual Studio Code would serve your intended use case best.

See more
Pranshu Verma
Engineer at Cisco Systems · | 3 upvotes · 435.2K views
Recommends
PyCharmPyCharm

If you starting with Python then PyCharm is better. For Java I would suggest to go with IntelliJ IDEA but people also prefer eclipse so I would say try both and then decide. For JS/Angular/React I would suggest go with VSCode. I personally use it and prefer as its light weight and have good integration with chrome for frontend development.

PyCharm, IntelliJ IDEA are both products of JetBrains. They have a free (limited feature) and paid edition. Eclipse is free. VSCode is also free.

See more
Isaac Povey
Casual Software Engineer at Skedulo · | 3 upvotes · 435.2K views
Recommends
IntelliJ IDEAIntelliJ IDEA

IntelliJ really is the best for Java, I switched from eclipse years ago and never looked back. As for javascript, python and angular either using the standalone products from jetbrains (pycharm for python, webstorm for js) or installing the relevant plugins for InteliJ will be your best bet. Pycharm etc. are really just InteliJ with some additional plugins installed.

See more
Pritam Nandy
Engineering Manager at Reliance Jio Infocomm Limited · | 1 upvotes · 382.7K views
Recommends
PyCharmPyCharm

This is a very easy to use tool and gives you the opportunity to start coding right after the installation with almost everything setup automatically by the tool.

See more
Recommends
PyCharmPyCharm

All three are great, however, I believe that IntelliJ IDEA's multiple IDE's are slightly more straight-forward and more up-to date than Eclipse. If I had to choose one specifically for Python projects I would go with PyCharm.

See more
Brian Turner
System Architect at Mary's Watch, Inc. · | 1 upvotes · 435.2K views
Recommends
IntelliJ IDEAIntelliJ IDEA

Easy to learn and everything you need

See more
Recommends
PyCharmPyCharm

Pycharm is all you need to get start coding in python or any of its framework. Its an awesome tool you should give it a try :)

See more
Decisions about pre-commit and PyCharm
Samriddhi Sinha
Machine Learning Engineer at Chefling · | 6 upvotes · 688.9K views

Lightweight and versatile. Huge library of extensions that enable you to integrate a host of services to your development environment. VS Code's biggest strength is its library of extensions which enables it to directly compete with every single major IDE for almost all major programming languages.

See more
Get Advice from developers at your company using StackShare Enterprise. Sign up for StackShare Enterprise.
Learn More
Pros of pre-commit
Pros of PyCharm
    Be the first to leave a pro
    • 106
      Smart auto-completion
    • 88
      Intelligent code analysis
    • 75
      Powerful refactoring
    • 56
      Virtualenv integration
    • 50
      Git integration
    • 21
      Support for Django
    • 10
      Multi-database integration
    • 7
      VIM integration
    • 4
      Vagrant integration
    • 3
      In-tool Bash and Python shell
    • 2
      Docker
    • 2
      Plugin architecture
    • 1
      Perforce integration
    • 1
      Debug mode support docker
    • 1
      Emacs keybinds

    Sign up to add or upvote prosMake informed product decisions

    Cons of pre-commit
    Cons of PyCharm
      Be the first to leave a con
      • 8
        Slow startup
      • 5
        Not very flexible
      • 4
        Resource hog
      • 2
        Periodic slow menu response

      Sign up to add or upvote consMake informed product decisions

      - No public GitHub repository available -

      What is pre-commit?

      pre-commit checks your code for errors before you commit it. pre-commit is configurable.

      What is PyCharm?

      PyCharm’s smart code editor provides first-class support for Python, JavaScript, CoffeeScript, TypeScript, CSS, popular template languages and more. Take advantage of language-aware code completion, error detection, and on-the-fly code fixes!

      Need advice about which tool to choose?Ask the StackShare community!

      What companies use pre-commit?
      What companies use PyCharm?
      See which teams inside your own company are using pre-commit or PyCharm.
      Sign up for StackShare EnterpriseLearn More

      Sign up to get full access to all the companiesMake informed product decisions

      What tools integrate with pre-commit?
      What tools integrate with PyCharm?
        No integrations found

        Sign up to get full access to all the tool integrationsMake informed product decisions

        What are some alternatives to pre-commit and PyCharm?
        hub
        hub is a command line tool that wraps git in order to extend it with extra features and commands that make working with GitHub easier.
        Git Flow
        It provides excellent command line help and output. It is a merge based solution. It doesn't rebase feature branches.
        Atlassian Stash
        It is a centralized solution to manage Git repositories behind the firewall. Streamlined for small agile teams, powerful enough for large organizations.
        Diff So Fancy
        diff-so-fancy builds on the good-lookin' output of git contrib's diff-highlight to upgrade your diffs' appearances.
        TortoiseGit
        It is a Git revision control client, implemented as a Windows shell extension and based on TortoiseSVN. It is free software released under the GNU General Public License.
        See all alternatives