Re: Clean Object Class Design -- Circle/Ellipse

From: Bob Badour <bbadour_at_golden.net>
Date: Fri, 31 Aug 2001 22:14:09 -0400
Message-ID: <yvXj7.613$sj4.124447797_at_radon.golden.net>


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> Received on Sat Sep 01 2001 - 04:14:09 CEST

Original text of this message