为什么选择 TextMate,而不是 Mac 上的 Netbeans 或其他 IDE?
Netbeans 是我在 Windows 和 Linux (Ubuntu/Fedora) 中进行 Rails 开发的选择。现在我用的是Mac。我听说过有关 TextMate 的好消息,但现在我已经改变了使用它的方式,我认为它不是比我正在使用的更好的替代方案。或者我在这里遗漏了什么?
Netbeans was my choice for Rails development in Windows and Linux (Ubuntu/Fedora). Now I am using a Mac. I had heard good things about TextMate, but now that I have got a change to use it I don't think it is a better alternative to what I was using. Or am I missing something here?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
TextMate 历来在 Mac 上受到青睐,因为 Rails 核心团队自己使用它,DHH 甚至帮助 Allan Odgaard 完成一些早期的 TextMate 开发工作。在 Rails 的早期,有人认为像 TextMate 这样的纯文本编辑器比重量级的成熟 IDE 更受青睐,因为 Ruby 的动态特性意味着 IDE 无法提供全部优势(例如代码完成),就像 Java 等语言一样。几年后,随着动态语言 IDE 技术的进步,情况已经不再是这样了。
最重要的是,您不必在 Mac 上使用 TextMate 进行 Rails 开发。它甚至不再在 Rails 核心团队中占据垄断地位,因为他们中的一些人使用 Vim(例如)。您应该使用适合您的方法。
TextMate has traditionally been preferred on the Mac because it's what the Rails core team themselves used and DHH even helped Allan Odgaard with some of the early TextMate development work. In the early days of Rails there was an argument to be made that pure text editors such as TextMate were preferred over heavyweight full-blown IDEs, because the dynamic nature of Ruby meant that IDEs weren't able to offer the full range of benefits (such as code completion) as they can for languages such as Java. Several years later and with advancements in IDE technology for dynamic languages, that's not really the case any more.
The bottom line is that you don't have to use TextMate for Rails development on a Mac. It doesn't even have a monopoly amongst the Rails core team any more, as some of them use Vim (for example). You should use what works for you.
我也一直在使用 Netbeans 进行 Rails 开发 - 不过没有什么可以阻止您继续使用它。 Netbeans 在 OSX 上的支持仍然很好(尽管 Oracle 停止对 Rails 开发插件的支持最终会给您带来一些问题)。
我不会说 TextMate 是唯一的选择,在询问了当地的 Rails 开发人员之后 - 我发现 rubymine< /a> 实际上很受欢迎。我尝试了一下,到目前为止,我对它非常满意,并且从 Netbeans 切换过来没有任何问题......尽管我仍在学习所有快捷方式。
正如约翰·托普利(John Topley)已经提到的——使用对你有用的东西。
I too had been using Netbeans for my rails development - nothing stopping you from continuing using it though. Netbeans support is still good on OSX (although Oracle stopping support for the rails development plugin will eventually cause you a bit of a problem).
I wouldn't say TextMate is the only option though, after asking around with my local rails developers - I found that rubymine was actually pretty popular. I tried it out, and have been really happy with it so far, and I had no problems switching over from Netbeans... Although I still am learning all the shortcuts.
As John Topley already mentioned - use what works for you.