Emacs 或 Vim 与 Eclipse 相比,效率如何? [英] What are the efficiencies afforded by Emacs or Vim vs Eclipse?

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

问题描述

我大约在 5 年前开始编码.我是通过 Java 和 Eclipse 被介绍的,这两种语言在编程社区中都有很大的烙印.我目前实习的公司中的许多人更喜欢 emacs 或 vim.我看不出基本的文本编辑器如何比 IDE 更快或更容易,尽管我很欣赏一些东西,比如从命令行构建往往更快.

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?

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

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

推荐答案

我开始使用 IDE 之类的 Eclipse,但大约 2 年前改用 Vim.

I got started in IDEs like Eclipse, but switched to Vim about 2 years ago.

您可能想要使用文本模式编辑器的原因:

Reasons you may want to use a text-mode editor:

  • 它几乎可以用作任何语言的 IDE(您只需学习一次,就可以将其用于所有语言)
  • 它可以完成所有那些奇特的事情,例如自动完成、重构和许多更复杂的操作,您可以通过添加宏或插件来扩展这些操作
  • 它几乎适用于任何地方(并且可以通过 SSH shell 使用)
  • 运行它不需要 GB 内存

如果你真的坚持下去,你会发现在这样的编辑器中工作最终会更快,实际上成为一种根深蒂固的肌肉记忆".这意味着您可以在不放慢思考过程的情况下编写代码.

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天全站免登陆