为什么人们会选择 Iron Python 而不是 Boo?
假设您想将脚本语言嵌入到 .NET 应用程序中。
Boo 以 Python 语法为模型,但也包含类型推断,总的来说,它似乎是一种更好、更现代的语言,可以作为脚本语言嵌入。
那么,为什么 Iron Python 有如此大的争议呢?
Possible Duplicates:
BOO Vs IronPython
Boo vs. IronPython
Say you want to embed a scripting language into a .NET application.
Boo is modelled on Python syntax, but also includes type inference, and just in general seems to be a better, more modern language to embed as a scripting language.
Why, then, is there so much fuss about Iron Python?
LATER
As was pointed out, this question is an exact duplicate of: this and this
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
2个词:用户群。
我已经知道很多语言,所以我必须随身携带参考资料,这样我就可以记住我当前正在使用的任何语言中是否是“else if”、“elsif”或“elif”。除非有令人信服的理由使用另一种语言(不仅仅是一些小差异)我将坚持使用我已经知道的一个。
2 words: User Base.
I already know so many languages that I have to keep references handy so I can remember if it's "else if", "elsif" or "elif" in whatever I'm currently working in. Unless there's a compelling reason to use another language (more than just a few small differences) I'm going to stick with one I already know.
IronPython 是由 Microsoft 直接开发和支持的(在 Jim Hugunin 的出色技术领导下!),并且有一本关于它的非常伟大的书(“IronPython in Action”,我对此有偏见,但仍然无耻地传播)。 除此之外,Boo 似乎是一个强有力的竞争者,我很想尝试一下(如果我曾经认真地使用 .NET,而不是为了好玩——因为我现在的职业发展目标是 Linux 和Mac,而不是 Windows,这似乎不太可能)。
如果您使用 .NET 作为主要开发目标,我的建议是在您的专业领域中选择一些小型但不是玩具的项目,并使用 Boo 和 IronPython 来开发每个项目(交替使用哪个先进行)——之后你经历过一些,你就会知道什么适合你。 这就是我在 90 年代最终从 Perl 4 切换到 Python 作为我的主要语言的原因(而不是坚持使用 Perl 4,我是 Perl 4 的专家和大师,或者切换到当时全新的 Perl 5)——在每个环境中充分开发的一些“试点项目”让我对什么最有利于我自己的生产力毫无疑问。
IronPython is directly developed and supported by Microsoft (under the awesome technical lead of Jim Hugunin!), AND has an insanely great book about it ("IronPython in Action", which I'm biased about but nevertheless evangelize shamelessly). Apart from that, Boo appears to be a great contender, and I'd love to try it out (were I ever to use .NET in earnest rather than as a for-fun endeavor -- as my professional development these days targets Linux and Mac, not Windows, that doesn't seem a likely prospect).
If you're using .NET as your main development target, my recommendation is to pick a few small but not toy projects in your area of expertise and develop each of them in both Boo and IronPython (alternating which one goes first) -- after you're through a few, you'll KNOW what's right for you. That's how I ended up switching from Perl 4 to Python as my main language back in the '90s (rather than sticking with Perl 4, of which I was an expert and guru, or switching to then-brand-new Perl 5) -- a few "pilot projects" fully developed in each environment left me with no doubt about what was best for my own productivity.
人们喜欢Python,他们不想要别的东西。 这个问题真的还有其他问题吗?
People like python, and they don't want anything else. Is there really anything else to this question?