Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

"The Dao of Perl 6"

by xyzzy (Pilgrim)
on Jan 06, 2012 at 17:11 UTC ( [id://946630]=perlmeditation: print w/replies, xml ) Need Help??

Happy Friday! Thought I'd share a humorous tidbit written by an anonymous contributor to a Russian internet-culture wiki, and translated by me. (all original formatting preserved)

It is well possible that I am not the first person to feel this way, but I know exactly what the development of Perl 6 is striving towards as the logical and absolute successor to Perl 5

I imagine its Dao to be approximately:

  1. Any collection of symbols in any encoding is syntactically valid Perl 6 code.
  2. There are always an infinite number of distinct ways to do it.
  3. Any person, regardless of what language he wrote before, can instantly write in Perl 6. He may never even guess that he is writing Perl 6 code. Providing, of course, he does not forget to put 1; at the end of modules.
  4. 1; can be overloaded. Spaces can be overloaded. Source filters can be overloaded with the help of regular expressions, which can also be overloaded.
  5. Perl 6 has a canonical implementation which is written in Perl 6 and cannot be expressed in any other language. The canonical implementation can be expressed in Perl 6 but not within a finite time. We are working on it. When we are finished, the Apocalypse Armageddon will occur (which could then also be overloaded).
1;


$,=qq.\n.;print q.\/\/____\/.,q./\ \ / / \\.,q.    /_/__.,q..
Happy, sober, smart: pick two.

Replies are listed 'Best First'.
Re: "The Dao of Perl 6"
by holli (Abbot) on Jan 07, 2012 at 04:18 UTC
    When we are finished, Armageddon will occur
    That's good news. It means Perl 6 will be ready X-Mas 2012.

    You can lead your users to water, but alas, you cannot drown them.

      I think the eta for Perl 6 as of today is around end of year 2014 or early 2015.

        Larry himself recently said "I think {a new camel} is one of the things we need to do to productize Perl 6 over the next year or two".

        The date you suggest sort of lines up with Larry's estimate for time to "productize" it, whatever that means.

        I'm curious about your definition of Perl 6, and how you arrived at the date you suggest.

Re: "The Dao of Perl 6"
by cavac (Parson) on Jan 07, 2012 at 13:54 UTC

    Perl is like fine wine. You can drink it a month after you bottled it, but you wont enjoy it.

    But you take care of it for a decade or two, make sure it's stored right, regularly turn the bottles, maybe exchange the cork once or twice and respected connoisseurs will fall on their knees and beg you for more.

    "Believe me, Mike, I calculated the odds of this succeeding against the odds I was doing something incredibly stupid… and I went ahead anyway." (Crow in "MST3K The Movie")
      I don't think Perl programmers generally care what "respected connoisseurs" think. Maybe Perl 6 is the wrong register.
Re: "The Dao of Perl 6"
by AR (Friar) on Jan 06, 2012 at 19:11 UTC

    Can we have a link to the original?

      Yes, please link original!

      1;

Re: "The Dao of Perl 6"
by sundialsvc4 (Abbot) on Jan 10, 2012 at 14:56 UTC

    The only thing that I would suggest to the Perl-6 team is:   “don’t call it Perl-6.”   It may well be a language that is source-code backward compatible with Perl-5, but I am of the opinion that quite clearly it is best described as a new language development effort, and I believe that this is how it should be professionally presented.

    Furthermore, I have no problems with this notion.   If a “new language” that is built from Perl, and that is meant to be a successor to what Perl has begun, seems good to enough engineers, then let it be so.   I do look forward to it, with considerable interest.   But let us, if but for the sake of clarity, give it a new name.   (Most unfortunately, and perhaps not coincidentally, “camel” seems to be taken ...)

Re: "The Dao of Perl 6"
by OlegG (Monk) on Jan 10, 2012 at 15:26 UTC
    >Sort filters can be overloaded
    "сорц фильтры" means "source filters"

    1;
Re: "The Dao of Perl 6"
by duff (Parson) on Jan 26, 2012 at 15:12 UTC

    Perl 6 does not require 1; at the end of modules :-)

      Neither does perl5

        Indeed. I quite like:

        __FILE__ __END__

        ... followed by lots of POD of course!

Re: "The Dao of Perl 6"
by Anonymous Monk on Jan 27, 2012 at 03:28 UTC

    6. Perl 6 doesn't exist.

    1;

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlmeditation [id://946630]
Approved by herveus
Front-paged by Arunbear
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (6)
As of 2024-03-19 09:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found