Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> comp.databases.theory -> Re: Clean Object Class Design -- Circle/Ellipse

Re: Clean Object Class Design -- Circle/Ellipse

From: Bob Badour <bbadour_at_golden.net>
Date: Sat, 1 Sep 2001 23:05:27 -0400
Message-ID: <Hlhk7.640$dI1.127262008@radon.golden.net>

Jan Hidders wrote in message <9mr804$a3a$1_at_news.tue.nl>...
>Bob Badour wrote:
>>
>> Jan Hidders wrote in message <9md6po$fp4$1_at_news.tue.nl>...
>> >Bob Badour wrote:
>> >>
>> >> Fair enough. If one overrides a property such that it alters the
>> >> semantics of the inherited property, one no longer has a subtype.
>> >> However, I would consider such an override as nothing more than an
>> >> abuse of the subtyping mechanism.
>> >
>> >Er, you mean the 'inheritance mechinism'? :-) But I agree with you that
>> >such overriding would be bad design.
>>
>> No, I mean subtyping mechanism. If I use my screwdriver to stir a
>> cocktail, I misuse my screw driving mechanism and not my drink
>> stirring mechanism. <g>
>
>Overriding is not a meaningful concept in the context of subtyping.
>There is a difference between subtyping and inheritance, you know.

Of course.

>The
>first is about specification and the latter is about implementation.

I agree -- that's why I called inheritance the mechanism for subtyping.

>Somehow I get the feeling you think these concepts are the same.

No more than I think fastening with screws is the same as a screwdriver. Received on Sat Sep 01 2001 - 22:05:27 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US