William Jiang

JavaScript,PHP,Node,Perl,LAMP Web Developer – http://williamjxj.com; https://github.com/williamjxj?tab=repositories

Perl6::Perl5::Differences — Differences between Perl 5 and Perl 6

Perl6::Perl5::Differences — Differences between Perl 5 and Perl 6

Today I spent sometime on Perl 6, which is still on the way developing. Perl 5 is an excellent language, very powerful and is compatible with Linux/Unix quite well: shell, sed, grep, awk, …

However, Perl 6’s syntax seems quite strange, like a new language. I don’t think it is an easy way for Perl developers to transfer from Perl 5 to Perl 6. A lot of new stuff.

There is no any other language to do so big change from 1 version updated to a new version. Is it worth for Perl 6 to do so?
The question is: Currently Perl 5, Ruby, Python are already very mature and own domain markets; Perl 6’s effort worth or not?

The following is the comparing article between Perl 6 and Perl 6:

http://perlcabal.org/syn/Differences.html#Operators

Advertisements

3 responses to “Perl6::Perl5::Differences — Differences between Perl 5 and Perl 6

  1. raiph 05/30/2012 at 7:20 am

    Hi William,

    > Perl 6′s syntax seems quite strange, like a new language. I don’t think it is an easy way for Perl developers to transfer from Perl 5 to Perl 6. A lot of new stuff.

    As far as syntax is concerned, it is much, much easier to transition from perl5 to Perl 6 than to, say, Python, Ruby, Java, Lisp, or Haskell — provided you have appropriate guidance.

    The underlying problem is inadequate beginner documentation, which is the one of the weakest aspects of Perl 6 at the moment.

    > There is no any other language to do so big change from 1 version updated to a new version. Is it worth for Perl 6 to do so? The question is: Currently Perl 5, Ruby, Python are already very mature and own domain markets; Perl 6′s effort worth or not?

    Are you asking whether it’s worthwhile for Larry et al to continue with Perl 6? (I think so.) Or are you asking if it’s a good idea that it was and remains so ambitious? (I think so.) Or are you asking if it’s worthwhile for YOU to continue looking at Perl 6? (That depends on your needs/wants/goals.) Or are you asking for others to answer these questions? (Done. 🙂

    > The following is the comparing article between Perl 6 and Perl 6:

    It is *A* comparing article, but by no means the best for what you seem to want. Note that it hasn’t been updated much in 3 years.

    There are other docs related to 5-to-6. For example the articles at http://perlgeek.de/en/article/5-to-6 which imo are still somewhat useful even though they were written 4 years ago.

    • williamjxj 05/31/2012 at 8:02 pm

      Hi, Raiph:

      Very good points. Larry Wall and the Perl core group are my heroes. I used Perl heavily as my career for up to 8 years. Perl5 makes works much easier than Java, C++ for many many stuff in Linux (I am good at PHP, Perl, C, shell scripts, Java, and familiar with other languages as well as technologies such as C++, Pascal, Python etc, so I can say this). Perl5 is a high advanced, smart, clear language, which is the key programming language for every Linux fan.

      For Perl 6, still have no the whole view, but definitely it would be a revolutionary language, I will spend some of time to dig into.

      If the things come from Larry Wall, Richard Stallman, Linus Torvalds, John Resig, they are definitely extraordinary excellent.

      Thank Raiph.

  2. raiph 05/30/2012 at 7:25 am

    Heh. I forgot to mention perhaps my most important response. If you are interested in Perl 6, make sure to introduce yourself, your needs and wants, and what you find appealing and/or confusing, on the IRC channel #perl6 on freenode. The channel is very friendly. If you don’t have a client, try http://webchat.freenode.net . For IRC logs, visit http://irclog.perlgeek.de/perl6/today

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: