Re: What databases have taught me

From: erk <>
Date: 23 Jun 2006 12:28:12 -0700
Message-ID: <> wrote:
> In fact, subtyping have to be used extremly carefully if you don't want
> to mess things up. It is a very inflexible tool.

Agreed - it's badly misunderstood, but is a poisonous pet even for the wise. Among other things, it's frequently treated as an implementation tool ("subclassing"), users ignore the need for subtypes to not restrict the precondition but fully deliver the postcondition (the former can be relaxed but not the latter)...

Mutation, of course, is a source of endless problems (hence the Circle/Elipse debate when you "change" the x or y), but is largely another variable/value debacle.  

  • erk
Received on Fri Jun 23 2006 - 21:28:12 CEST

Original text of this message