Both Emacs and Vim are excellent tools for editing files of all types of programming languages.
Why emacs is better than vim. The most epic battle of them all. For me Emacs has these advantages over vim. I havent wrote any vim extension in PythonRuby but I can.
After that the other practical difference was Emacs modes. Both Emacs and Vim are excellent tools for editing files of all types of programming languages. One domain where Emacs is plain better than Vim is interaction with asynchronous subprocesses.
Ill just mention my brief and highly personal take on the subject. Is Emacs worth learning 2020. Vim may be extensible but it is primarily a text editor.
Vim is made especially for text editing and the defaults reflect that if you dont mind modal editing and I love it. Emacs is the extensible text editor. They make your life tremendously easier when editing XML.
However if your goal is to be more. Im saying that on any machine out-of-the-box installs of Vim will start up faster than out-of-the-box installs of Emacs. Vim was always faster to start up than Emacs.
However its been said that putting in the extra effort is worth it because you will ultimately be able to work much faster and more comfortably in Vim. More epic than Linux vs Windows and Barcelona vs Real Madrid combined This however is no flame post and Ill not be bashing vim here. Emacs is a programming platform shipped with a text editor.