Raku(以前称为 Perl 6)值得学习吗?

发布于 2024-08-24 01:54:31 字数 1431 浏览 8 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(5

少女的英雄梦 2024-08-31 01:54:31

如果我有这样的培训机会,我会接受。即使它是 COBOL

我认为培训机会不仅是学习重点技术的机会,而且是学习新思想、概念、平台、语言(只是为了看看其他东西是如何实现的)以及结识新朋友的机会。

我认为任何培训都值得我花时间。特别是如果要支付费用的话。在培训课程中,您经常会学习(或重新学习)可以应用于您选择的语言的材料。

注意:可能值得注意的是,我对软件开发和编程语言采取了非常学术的态度。

If I had a training opportunity like this, I'd take it. Even if it was COBOL.

I look at training opportunities as not only an opportunity to learn the highlight technology, but as an opportunity to learn new ideas, concepts, platforms, language (just to see how something else was implemented) and finally, to meet new people.

I think that any training is likely worth my time. Especially if the cost is going to be covered. In a training class, you'll often learn (or relearn) material that could be applied in your language of choice.

Note: It's probably worth me noting that I take a very academic look at software development and programming languages.

小帐篷 2024-08-31 01:54:31

这个问题已经得到了解答,但我会介入:

Rakudo Perl 6 目前是 Perl 6 的实际实现。它拥有最多的功能、最大的社区和令人印象深刻的发展速度。第一个“1.0”版本 Rakudo Star 计划于2010 年 4 月发布。

Perl 6 还可以在 Parrot 上运行,Parrot 是一个虚拟机,已经能够运行另外几十种语言,包括 Python。多种语言交互和调用彼此的模块/API 的范围相当巨大。

即使您不打算使用 Perl 6,该语言的范围也非常广泛,并且包含许多新的或借用的但还不是主流的范例,无可否认,它将对其他脚本语言产生巨大的影响。仅出于这个原因就值得熟悉它。

This has been answered, but I'll step in:

Rakudo Perl 6 is the de-facto implemention of Perl 6 right now. It has the most features, the biggest community and an impressive rate of development. The first "1.0" release, Rakudo Star, is planned for April 2010.

Perl 6 also runs on Parrot, which is a virtual machine already capable of running another couple dozen languages, including Python. The scope for multiple languages interacting and calling each other's modules/APIs is pretty huge.

Even if you don't plan on using Perl 6, the scope of the language is so broad, and contains so many new or borrowed-but-not-yet-mainstream paradigms, that it will have an undeniably huge effect on other scripting languages. It's worth becoming familiar with it for that reason alone.

烟柳画桥 2024-08-31 01:54:31

学习 Perl 怎么可能对你有害呢?你是否需要权衡学习的好处(好吧,有明显的时间和金钱成本,但如果这些不是太糟糕,还有什么可以阻止你)? IMO,学习东西总是好的。 ;)

How could learning Perl be BAD for you? Is there any cost you have to weigh against the benefit of learning (OK there is are the obvious ones of time and money, but if those aren't too bad, what else could there be to hold you back)? IMO, learning things is ALWAYS good. ;)

再见回来 2024-08-31 01:54:31

如果您想使用任何版本的 Perl,那么 Perl 5 就是您的最佳选择。我认为没有人在实验之外使用它。然而,Perl 6 及其 Parrot VM 作为动态语言“第四种方式”平台的一部分具有很大的潜力,目前的选择是“在自己的 VM 中运行”、“在 JVM 上运行”和“在 JVM 上运行”。在 .NET CLR 上。”

对 Perl 5 的大量清理工作正在进行中,以减少 Perl 6 的文化冲击,因此如果学习 Perl 是一个目标,那么它不会对您造成伤害。

If you want to use any version of Perl, then Perl 5 is the way to go. I don't think anyone is using it outside of experimentation. However, Perl 6 and its Parrot VM have a lot of potential as part of a "fourth way" platform for dynamic languages between the current choices of "run it in its own VM," "run it on the JVM" and "run it on the .NET CLR."

A lot of the cleanup work on Perl 5 is being done to make Perl 6 less of a culture shock so it shouldn't hurt you if learning Perl is a goal.

站稳脚跟 2024-08-31 01:54:31

如果不为别的,我个人认为 Perl 6 值得学习,只是因为它增加了为解析任务指定语法和规则的功能。这是一个伟大而有用的功能,目前其他主要通用语言都没有。

If for nothing else, personally I think Perl 6 is worth learning just for its added capability to specify grammars and rules for parsing tasks. That is a great, useful feature that no other major general-purpose languages have today.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文