Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Re^2: Strategy Handles

by jdporter (Canon)
on Jan 04, 2006 at 19:50 UTC ( #520996=note: print w/replies, xml ) Need Help??

in reply to Re: Strategy Handles
in thread Strategy Handles

If you need to change what output you provide by dynamically changing inheritence then I don't see how you can say this alternate technique is OO based.

I'm not into making rigorous definitions of OO, nor am I arguing that this technique is or isn't OO in any kind of purist sense. But considering that it is all about inheritance of methods, I don't know what other drawer to file it under. Remember that Perl's OO is not (much) like any other language's OO. One of the ways in which it's different comes from the highly dynamic nature of the language itself. And this technique is merely an example of that.

If this were available I think I would be pretty safe in saying that I would never make use of it.

It is available. And no, I don't actually expect anyone to make use of it. :-)

We're building the house of the future together.

Replies are listed 'Best First'.
Re^3: Strategy Handles
by simon.proctor (Vicar) on Jan 05, 2006 at 09:42 UTC
    > But the fact that it is all about inheritance of methods,

    Yeah thats true but it is quite evil. And in a monestary too ;).

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://520996]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (9)
As of 2018-01-16 16:22 GMT
Find Nodes?
    Voting Booth?
    How did you see in the new year?

    Results (182 votes). Check out past polls.