Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: RFC: Alter - Perl extension for Alter Ego Objects

by kyle (Abbot)
on Jun 30, 2007 at 16:17 UTC ( #624216=note: print w/replies, xml ) Need Help??


in reply to RFC: Alter - Perl extension for Alter Ego Objects

I don't like the name. If you were looking for a module to do this, and you didn't know what it was called, what would you guess its name to be? I suggest Class::AlterEgo or Object::AlterEgo (to go along with Class::Std and Object::InsideOut).

  • Comment on Re: RFC: Alter - Perl extension for Alter Ego Objects

Replies are listed 'Best First'.
Re^2: RFC: Alter - Perl extension for Alter Ego Objects
by Anno (Deacon) on Jun 30, 2007 at 16:50 UTC
    I'm afraid you have a point there (afraid, because last-minute name changes are such a pain). I guess it'll be Object::AlterEgo (not Class::...) because, well, it's the object rather than the class that has an alter ego.

    Anno

      I like the name - Alter. But then, maybe Alter::Ego. I don't believe the Object:: prefix adds much to it, since even so, looking at the name, one would ask "what the heck is Alter?". Seeing the ego method inside the package will give the "Aha!" - effect: so it's about the Alter Ego of an object, which is hidden to the outside! Nice.

      But if you want to give it a "conventional" name - what about Object::Magic? It's that - magic, and relies on extension magic.

      --shmem

      _($_=" "x(1<<5)."?\n".q·/)Oo.  G°\        /
                                    /\_¯/(q    /
      ----------------------------  \__(m.====·.(_("always off the crowd"))."·
      ");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}
Re^2: RFC: Alter - Perl extension for Alter Ego Objects
by shmem (Chancellor) on Jul 01, 2007 at 06:07 UTC
    what would you guess its name to be?

    You certainly wouldn't try to find it by guessing its name, but looking it up on CPAN with a few keywords.

    --shmem

    _($_=" "x(1<<5)."?\n".q·/)Oo.  G°\        /
                                  /\_¯/(q    /
    ----------------------------  \__(m.====·.(_("always off the crowd"))."·
    ");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://624216]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2023-06-01 13:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?