NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
That's not what I call 'inside-out' objects. (Score:1)
People seem to think that Inside-Out Objects are about not letting other people touch your internals.
They aren't.
Inside-Out Objects solve two out of three problems* I have with traditional Perl OO:
Re: (Score:2)
I've evidently been wrong about IOO. Since the major problem I've faced has traditionally been encapsulation, that was the bit I've focused on. I will have to concede all your points. I just find that virtually every IOO implementation I've seen out there has been painful to work with, so I gave up and hope that solving the major problem I have might be good enough.
Re:That's not what I call 'inside-out' objects. (Score:1)
Hmm. For me, the visible difference between hash-based and inside-out objects is turning the following:
into this:
That seems hardly painful… but then, as MJD says, people are weird about syntax.
Reply to This
Parent