Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

Re: Supra Class for Inheritance?

by merlyn (Sage)
on Aug 21, 2010 at 02:56 UTC ( #856403=note: print w/ replies, xml ) Need Help??

in reply to Supra Class for Inheritance?

I have a child class that only has a subset of the methods of its parent.
Then it's not a child class. Fix your hierarchy.

-- Randal L. Schwartz, Perl hacker

The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119.

Comment on Re: Supra Class for Inheritance?
Replies are listed 'Best First'.
Re^2: Supra Class for Inheritance?
by ikegami (Pope) on Aug 21, 2010 at 03:27 UTC
    I think the OP meant the child class overrides only a subset.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (3)
As of 2015-11-26 03:42 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (696 votes), past polls