Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re^2: Moose design question

by elTriberium (Friar)
on May 19, 2011 at 20:18 UTC ( [id://905792]=note: print w/replies, xml ) Need Help??


in reply to Re: Moose design question
in thread Moose design question

Thanks for you answer.
You should find useful abstractions based on how they interact with each other, not by who develops them.
I agree, this was not a good example. But as I mentioned these modules are logically separated, so I wanted to introduce the abstraction in the class design.
Looks like delegation would make your life easier here.
Thanks for that tip and also to John M. Dlugosz for mentioning delegation, too. I have not looked into this before, will definitely do that now.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2024-04-25 13:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found