[Zope3-dev] I've changed my mind about inheritence of interface declarations

Barry A. Warsaw barry@zope.com
Wed, 12 Mar 2003 11:15:19 -0500


>>>>> "JF" == Jim Fulton <jim@zope.com> writes:

    JF> (The situation with subclassing would be better if we had an
    JF> explicit way to declare subclassing contracts that spelled out
    JF> the promises made to and demanded of subclasses.)

Classes that are intended to act as base classes should be designed
that way, which means specifying a formal interface for its derived
classes.  E.g. Something like C++'s protected methods.

-Barry