[Zope3-dev] Basic Interfaces question
Jim Washington
jwashin at vt.edu
Mon Jun 7 10:18:56 EDT 2004
Let's say we have an interface IFoo and an interface IFooExtended
IFoo defines foo as
def foo():
"""do foo"""
IFooExtended defines foo as
def foo(myParam=None)
"""do the same thing as foo in IFoo, except use myParam to extend
behavior if available"""
should IFooExtended descend from IFoo, or should IFooExtended be a
different interface?
i.e., should the definition of IFooExtended be
class IFooExtended(IFoo):
or
class IFooExtended(Interface)
or is there something better?
-- Jim Washington
Feeling like a zope novice all over again...
More information about the Zope3-dev
mailing list