Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

nige (4668)

nige
  (email not shown publicly)
http://turbo10.com/

Journal of nige (4668)

Thursday January 01, 2004
09:28 PM

Pilgrimage to a Perl 6 Patch - First Steps

[ #16578 ]
It has taken longer than I thought to find the time to make a start. But here are the first steps on my Pilgrimage to a Patch:
  • read the Parrot section of "Perl6 Essentials"
    • - noted Dan Sugalski's suggestion of writing tests as a good place to start
  • browsed around http://dev.perl.org/perl6
  • doing background reading on CVS (Nutshell)
  • planning to install CVS and Parrot when I get time

Lately I've also been interested to read about the plans for traits and roles etc on Usenet in perl.perl6.language.

I must confess to employing a slightly warped form of OO patterns for a while involving the 'personification' of objects.

I've been bundling up chunks of complexity into roles/people, for example 'DatabaseManager', 'AdapterManager' and a menagerie of email robots (Amy, Penny, Daisy etc).

Personification of interfaces has traditionally been a CS no-no and I think this has spilt over into the OO modelling world.

But having 'people' in your system really is a natural pattern especially where your objects have responsibility, functions, duties and roles.

I've always thought tangibility is the enemy of complexity and 'personification' is one way to help make things more tangible. The vocabulary relating to people is much more accessible than abstract patterns. What is a 'singleton' anyway?

WWW::Mechanize is an example of a module that employs a slightly 'personified' interface because it models what a real web user does when they encounter a page - and makes these functions tangible in the mind of the coder.

But I think personifying the OO interfaces can be taken much further and I think 'roles' and 'traits' fit into this well.

I hope Perl6 can push the OO boat out even further ... one way maybe to sacrifice the CS sacred cow of no personification? ;-)

[ Gwass Hopper stops staring into the sky and returns to the Pilgrimage ... ]

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.