Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: New Module Announcement: Object::InsideOut

by xdg (Monsignor)
on Nov 01, 2005 at 02:02 UTC ( #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
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
Node Status?
node history
Node Type: note [id://504465]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (7)
As of 2014-08-01 10:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Who would be the most fun to work for?















    Results (2 votes), past polls