Slashdot Mirror


Apocalypse 12 From Larry Wall

rheum101 writes "Larry Wall just released the eagerly anticipated Apocalypse12 . detailing Perl6 OO in all it glories. To quote the author -> 'One other note: if you haven't read the previous Apocalypses and Exegeses, a lot of this is going to be complete gobbledygook to you. (Of course, even if you have read them, this might still be gobbledygook. You take your chances in life...).'"

7 of 55 comments (clear)

  1. Many Informative Links by Pan+T.+Hose · · Score: 5, Informative

    I have submitted a story but it was rejected, so please let me resubmit it as a first post instead.

    The long awaited Apocalypse 12 by Larry Wall has been just announced by chromatic on perl6-language mailing list. It is one of the most important documents explaining the Perl 6 language design. (All of the previous design decisions are available as Apocalypses by Larry Wall, Exegeses by Damian Conway and Synopses by Luke Palmer, Damian Conway and Allison Randal.) Apocalypse 12 talks about Object Oriented aspects of Perl 6, i.e. about Objects, Classes, Roles (also known as Traits), Multiple Dispatch and also covers some non-OO decisions:

    "The official, unofficial slogan of Perl 6 is "Second System Syndrome Done Right!". After you read this Apocalypse you will at least be certain that we got the "Second System" part down pat. But we've also put in a little bit of work on the "Done Right" part, which we hope you'll recognize. The management of complexity is complex, but only if you think about it. The goal of Perl 6 is to discourage you from thinking about it unnecessarily." --- Larry Wall.

    (Lameness filter didn't allow me to post the table of contents. Reason: Please use less whitespace.)

    You can access the entire document as a print friendly version. The standard version of Apocalypse 12 is divided into 20 parts. Enjoy.

    If you are new to Perl 6 and Parrot, then Perl 6 Essentials by Allison Randal, Dan Sugalski and Leopold Tötsch might be a great introduction. The second edition should be published soon.

    --
    Sincerely,
    Pan Tarhei Hosé, PhD.
    "Homo sum et cogito ergo odi profanum vulgus et libido."
  2. No switching between $, @ and % by Pan+T.+Hose · · Score: 5, Informative

    The same goes for the syntax. All the switching between $, @ and % is really irritating (ask a newbie how to get at the length of the keys array of a hash inside a hash, for example), and the changes proposed for 6 are just making this worse [emphasis added]

    The changes proposed for Perl 6 means no switching between $, @ and % any more.

    --
    Sincerely,
    Pan Tarhei Hosé, PhD.
    "Homo sum et cogito ergo odi profanum vulgus et libido."
  3. Everyone is Right by Pan+T.+Hose · · Score: 3, Informative

    ruby? Python? Kid's toys.

    Common Lisp. Enough Said. Okay maybe Scheme, if you're a bit of a masochist...

    Everyone is right here. There is no one language which is best for everyone. Perl 5, Perl 6, Ruby, Python, Lisp, Scheme... They are all going to target Parrot so we will be able to choose our favourite language and still work together instantiating our objects and even inheriting from each other's classes crossing the cross-language boundaries. A very impressive work has already been done in the 0.1.0 "Leaping Kakapo" version of Parrot. See: Parrot FAQ and the languages directory in the CVS.

    --
    Sincerely,
    Pan Tarhei Hosé, PhD.
    "Homo sum et cogito ergo odi profanum vulgus et libido."
  4. Manipulating Arrays of Arrays in Perl by Pan+T.+Hose · · Score: 2, Informative

    I haven't been following perl 6 too closely, is there any word on if Perl will be getting rid of the multi dimensional array hack of having to use references? This is something that dates back to Perl 4. It could have been fixed in Perl 5 but was the whole references thing was introduced for backwards compatability. But so much is changing in Perl 6 anyway it would be nice to be able to do things like @array[6][4][2][5][6] = "whoa!"

    See perldoc perllol: Manipulating Arrays of Arrays in Perl.

    --
    Sincerely,
    Pan Tarhei Hosé, PhD.
    "Homo sum et cogito ergo odi profanum vulgus et libido."
  5. I gave a bad example by bangular · · Score: 2, Informative

    I gave a bad example. Perl doesn't support true multi dimensional arrays. Read http://www.perldoc.com/perl5.8.0/pod/perlreftut.ht ml The values within an array must be scalars. This is something back from the perl 4 days. So in the example I gave, everything deeper than [4] is actually an anonymous reference.

  6. Flex Link by CaptainPinko · · Score: 2, Informative
    --
    Your CPU is not doing anything else, at least do something.
  7. Troll feeding by IpalindromeI · · Score: 3, Informative

    The reason this post seems almost like a good post is that it's a subtle troll.

    It shows up in most of the Perl 6 stories.

    --

    --
    Promoting critical thinking since 1994.