Follow Slashdot blog updates by subscribing to our blog RSS feed

 



Forgot your password?
typodupeerror
×
Perl

Journal Pan T. Hose's Journal: Larry Wall's Apocalypse 12: OO in Perl 6 4

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.

Table of contents:

Some of the Problems with Perl 5 OO

Perl 5 Non-Problems

Trust in Convention, But Keep Your Powder Dry

An Easy Example

Classes

Methods

Class Methods

Submethods

Attributes

Class Attributes

Object Construction

Object Deconstruction

Dispatch Mechanisms

Multiple Dispatch

Overloading

Class Composition with Roles

Traits

Delegation

Types and Subtypes

Enums

Open vs. Closed Classes

Interface Consistency

Collections of Classes

Versioning

Introspection

Other Non-OO Decisions

Optional Mandatory Cross-Disciplinary Joke for People Tired of Dogs

Future Directions

References...er, Reference...

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.

Slashdot story submitted on 11:14 Saturday 17 April 2004 UTC. Pending...

This discussion has been archived. No new comments can be posted.

Larry Wall's Apocalypse 12: OO in Perl 6

Comments Filter:
  • Surprisingly enough, the story has been rejected. I wonder why... There is nothing posted about the Apocalypse 12 yet. Very strange. Maybe I will try to repost it without the entire table of contents. It is just too important to be left unmentioned on Slashdot. I cannot let it happen.
    • Update: Some other story about Apocalypse 12 has been already posted. It is not very informative and lacks lots of extremely important links and background, so I have partially resubmitted my rejected story as a first post [slashdot.org] instead. I hope it will help people learn more about the most innovative and cutting-edge programing language in existance, which Perl 6 [perl.org] is soon going to be. I would hereby also like to thank Larry Wall for the absolutely amazing work he is doing. I hope he reads my journal. Thanks Larry!
  • I haven't posted the story before. maybe their were several submissions and they just had to choo0se one. cheers ;)
    • I haven't posted the story before. maybe their were several submissions and they just had to choo0se one. cheers ;)

      There must have been several submissions indeed and they have apparently chosen one [slashdot.org] which was not only posted five hours later but was also in every way inferior to mine [slashdot.org]. The reasons of that decision remain unclear. But even though my story has been so foolishly rejected, I still managed to post three out of four Score:5 comments including (but not limited to) one First Post [slashdot.org] while getti

Anyone can make an omelet with eggs. The trick is to make one with none.

Working...