Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: New Module Announcement: Object::InsideOut

by xdg (Monsignor)
on Nov 01, 2005 at 02:02 UTC ( [id://504465]=note: print w/replies, xml ) Need Help??


in reply to New Module Announcement: Object::InsideOut

Kudos! I'm very happy to see more work done in this area, particularly that which addresses some of the glaring shortcomings of Class::Std. I look forward to studying it in more detail.

One point of note -- by storing the id in the blessed scalar, you eliminate the ability of an inside-out object to subclass any kind of object. That is one of the two main benefits of inside-out objects (the other being privacy). (See various threads in Threads and fork and CLONE, oh my!). It's at least worth noting in your documentation as you're using a more specific variation of the inside-out technique that trades speed for some flexibility of design.

-xdg

Code written by xdg and posted on PerlMonks is public domain. It is provided as is with no warranties, express or implied, of any kind. Posted code may not have been tested. Use of posted code is at your own risk.

  • Comment on Re: New Module Announcement: Object::InsideOut

Replies are listed 'Best First'.
Re^2: New Module Announcement: Object::InsideOut
by jdhedden (Deacon) on Nov 01, 2005 at 05:37 UTC
    by storing the id in the blessed scalar, you eliminate the ability of an inside-out object to subclass any kind of object
    True. In addition, the nature of the new method in both Object::InsideOut and Class::Std also precludes this capability.

    Remember: There's always one more bug.
      As of v1.18, Object::InsideOut supports inheritance (i.e., sub-classing) of non-inside-out object classes.

      Remember: There's always one more bug.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2024-04-19 09:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found