r/Python • • Nov 30 '15

Emacs - the best python editor?

https://realpython.com/blog/python/emacs-the-best-python-editor#.VlxbmNNKXbw.reddit
28 Upvotes

28 comments sorted by

View all comments

22

u/jdreaver Nov 30 '15

If someone is just looking for a great Python IDE, then I recommend something besides Emacs, like PyCharm. However, I use Emacs because I get a uniform environment for all of the languages I use. I also use org-mode for all of my planning and time tracking, erc for IRC chat, mu4e for email, and a few other miscellaneous utilities. Basically, don't get into Emacs simply expecting to get a good Python IDE. Treat learning to use Emacs like its own investment, and maybe you'll like using it for all of your text editing.

Every time someone shows a language-specific Emacs setup on Reddit, half of the comments are variations of: "why should I do this when I have great IDEs available for X language? This is a waste of time, I am a practical developer and I need to write code now, not futz with elisp!" Learning Emacs is definitely a labor of love at times, but there are also real productivity gains.

2

u/ermass Dec 01 '15

I totally agree with your first paragraph, but almost totally disagree with the second one :)

Every time someone shows a language-specific Emacs setup on Reddit, half of the comments are variations of: "why should I do this when I have great IDEs available for X language? This is a waste of time, I am a practical developer and I need to write code now, not futz with elisp!" Learning Emacs is definitely a labor of love at times, but there are also real productivity gains.

I can understand why they say "why...". It actually applies very well to this post as well. It starts from the installing Emacs, thus assuming a person following it as a beginner with Emacs. There is a learning curve and configuration pain ahead. A modern Python project has its own infrastructure: git repo, virtual environments, dependency management, debugging, web or other framework, javascript, html, bash. Community edition of PyCharm has support for all of these either builtin or as plugins. Moreover, if you write also in Ruby or Java there are similar IDE by the same vendor, which make the experience uniform. And after all, I don't think that productivity of emacs user will be higher, unless in very specific scenarios. I also believe, that while emacs is truly awesome, but some of its old users would have preferred PyCharm had they have this option back then.