Don't ask to ask, just ask | |
PerlMonks |
Re^4: Introducing Class::InsideOutby adrianh (Chancellor) |
on Feb 14, 2006 at 15:56 UTC ( [id://530150]=note: print w/replies, xml ) | Need Help?? |
However, I think I would go so far and enforce the separation of creation and initialization. As a designer, it gives you one more point of control (->new is your baby now). Your users fully control object construction through their ->init methods. But if you're providing your own new you lose the ability to subclass other classes that are not based on your system. An extremely nice feature of Class::InsideOut IMO.
In Section
Meditations
|
|