Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^2: Strategy Handles

by jdporter (Paladin)
on Jan 04, 2006 at 19:50 UTC ( [id://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?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (6)
As of 2024-04-19 06:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found