Emacs或Vim与Eclipse提供的效率是甚么? [英] What are the efficiencies afforded by Emacs or Vim vs Eclipse?

查看:140
本文介绍了Emacs或Vim与Eclipse提供的效率是甚么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

5年前我开始编码了。我是通过Java和Eclipse引入的,这两者在编程社区中都有严重的污名。我现在在公司里的一些人喜欢emacs或vim。基本的文本编辑器一般不会比IDE更快或更简单,尽管我喜欢一些像命令行这样的构建往往更快的东西。



这是一个老男孩俱乐部的情况,还是以这种方式编制项目效率更高?



您可以提供一些用例来演示吗?如果我提倡Eclipse,我会说重构和自动完成是非常方便的工具。



Gav

解决方案

我开始使用IDE,像Eclipse一样,但是在2年前已经切换到Vim。
以下是您可能想要使用文本模式编辑器的一些原因:




  • 它可以作为IDE使用任何语言(你学习一次,用于一切)

  • 它可以做所有这些花哨的事情,如自动完成和重构,还有更复杂的操作,你可以通过添加宏或插件

  • 它在任何地方都可以工作(可以通过ssh shell使用)

  • 你不需要一个ig运行它



如果你真的坚持你会发现在这样的编辑器中工作最终会更快,实际上变得根深蒂固作为一种肌肉记忆。这意味着你可以编写代码,而不放慢考虑过程。


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

解决方案

I got started in IDE's like Eclipse, but have switched to Vim about 2 years ago. Here's some reasons why you might want to use a text mode editor:

  • It can be used as an IDE for just about any language (you learn it once and use it for everything)
  • It can do all those fancy things like auto-completion and refactoring, and many more complex operations which you can extend by adding macro's or plug-ins
  • It works just about everywhere (and can be used through an ssh shell)
  • You don't need a gig of ram to run it

If you really persevere you will find that working in an editor like this will eventually be faster, and in fact becomes ingrained as a sort of 'muscle memory'. This means you can code without slowing down to think about the process.

这篇关于Emacs或Vim与Eclipse提供的效率是甚么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆