Re: What databases have taught me
Date: 23 Jun 2006 12:28:12 -0700
> 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.