[Tutor] design of Point class
Steven D'Aprano
steve at pearwood.info
Sat Aug 21 03:53:22 CEST 2010
On Sat, 21 Aug 2010 11:50:40 am Steven D'Aprano wrote:
> On Sat, 21 Aug 2010 08:08:56 am Alan Gauld wrote:
> > Every time you change the interface of inherited methods you
> > create for yourself extra work in converting types to match the
> > superclass. But that is often easier than rewriting the methods
> > from scratch.
>
> Every time you change the interface of inherited methods, you
> probably shouldn't.
Oops, that's a generic "you", not Alan. After all, he went on to mention
Liskov in the very next paragraph.
--
Steven D'Aprano
More information about the Tutor
mailing list