Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What are the efficiencies afforded by Emacs or Vim vs Eclipse? [closed]

Tags:

vim

emacs

eclipse

I started coding around 5 years ago. I was introduced through Java and Eclipse which both have substantial stigma attached in the programming community. A number of people at the company I currently intern at prefer emacs or vim. I can't see how a basic text editor is faster or easier than an IDE in general although I appreciate some things like building tend to be faster from the command line.

Is this a case of the 'old-boys' club or can it be more efficient to program a project in this way?

Can you provide some use cases to demonstrate? If I were advocating Eclipse I'd say refactoring and auto-completion were pretty handy tools.

Gav

like image 262
gav Avatar asked Aug 28 '09 12:08

gav


People also ask

Why do people prefer Emacs over Vim?

Emacs tends to be relatively straightforward, similar to commonly used text editors like Notepad. On the other hand, Vim is a power-user's tool, using keyboard shortcuts to speed up tasks. Vim is known to have a much steeper learning curve than Emacs.

Is Vim really more productive?

Vim is a text editor that can greatly increase your productivity when you are coding. Typing speed is irrelevant up to a certain level. Your ability to navigate through code is much more important. This is where Vim, along with its keybindings, layout, and setup, can help you speed up the process.

Why is Vim better than an IDE?

Vim has a small footprint, low latency, fast startup, allows for more screen space, customizable and most importantly, once the muscle-memory has been ingrained, it's nearly impossible to switch to something else.

Which is faster Emacs or Vim?

Vim was always faster to start up than Emacs.


1 Answers

Vim / Emacs

  • Very fast/efficient code writing
  • Low memory footprint
  • Quick access to command line
  • Infinite possibilities through scripting/plugins
  • Never have to leave the keyboard

Eclipse

  • Full-featured IDE for many languages
  • Great refactoring support

All of them

  • Cross-platform
  • Feature rich
  • Extensible through plugins

I typically find myself writing volumes of code through vim and performing debugging tasks through my IDE. Familiarity with the code base is certainly a factor, as an IDE is a great tool for jumping around and learning unfamiliar source code.

like image 134
Corey D Avatar answered Sep 21 '22 22:09

Corey D