http://qs1969.pair.com?node_id=856403


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.

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