On Wed, Aug 06, 2003 at 10:24:09PM +0100, Rob Dixon wrote:
> 
> "Martin A. Hansen" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
> > On Tue, Aug 05, 2003 at 08:18:24PM +0100, Rob Dixon wrote:
> > >
> > > "Ovid" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
> > > > --- Peter Scott <[EMAIL PROTECTED]> wrote:
> > > > > >The problem here is that it will not print inherited or AUTOLOADed methods.
> > > > > [snip]
> > > > >
> > > > > So traverse the inheritance hierarchy and do the same thing with each class:
> > > > >
> > > > > http://search.cpan.org/author/SBURKE/Class-ISA-0.32/ISA.pm
> > > >
> > > > That's certainly a decent 95% solution and if you *really*
> > > > need it, it's a good idea.  The original problem, though,
> > > > is not one that I want to encourage most people to solve
> > > > because for most programmers, when things get that complicated,
> > > > it turns out that there's an underlying design flaw that needs
> > > > to be addressed.
> > > >
> > > > Of course, people seem to get mad when I say that :)
> > >
> > > I'll second that. Absolutely.
> > >
> > > If you've created an object and are asking, 'Now what can I do
> > > with this object?' then you're not designing software, you're
> > > laying bricks. Find a module that, from the documentation,
> > > looks like it will do what you want. Then commit to using that
> > > module with the documented interface alone. After that, if
> > > you find you've made the wrong decision, be prepared to backtrack
> > > as far as necessary to redeem yourself.
> >
> > first of all. objects and modules are for software reuse as i understand it. so
> > installing and using modules from CPAN leaves me as a bricklayer!
> 
> Being a bricklayer is a fine thing. But I thought this group was
> for beginner Perl programmers? If you take your module, poke it
> around a little, and say 'I wonder what this will do if...' then
> you will probably end up with Carhenge. Read the Owners' Manual
> and you'll find that you could have driven countless times to visit
> the magnificent results of a bricklayer at work across the country.
> 
hah! so this is the sad story of OO perl. i have been warned off OO perl
repeatedly, but using Bio:: (which i believe is as extensive as Net:: and
HTTP::) is a major source of software reuse, especially because Bio:: stuff has
a lot of parsers of text flatfiles that keep altering format.

i was really hoping that someone more clever than i, had this problem solved
...

:oP

martin

> Cheers,
> 
> Rob
> 
> 
> 
> -- 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to