From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=BAYES_00,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 109fba,b87849933931bc93 X-Google-Attributes: gid109fba,public X-Google-Thread: 1108a1,b87849933931bc93 X-Google-Attributes: gid1108a1,public X-Google-Thread: 114809,b87849933931bc93 X-Google-Attributes: gid114809,public X-Google-Thread: fac41,b87849933931bc93 X-Google-Attributes: gidfac41,public X-Google-Thread: 103376,b87849933931bc93 X-Google-Attributes: gid103376,public From: Chris.Bitmead@Alcatel.com.au (Chris Bitmead) Subject: Re: OO, C++, and something much better! Date: 1997/02/21 Message-ID: #1/1 X-Deja-AN: 220347391 Distribution: inet References: <5bphq4$5js@mulga.cs.mu.OZ.AU> Organization: Alcatel Australia Limited Reply-To: Chris.Bitmead@Alcatel.com.au Newsgroups: comp.lang.eiffel,comp.lang.ada,comp.lang.c++,comp.lang.smalltalk,comp.object Date: 1997-02-21T00:00:00+00:00 List-Id: In article rmartin@oma.com (Robert C. Martin) writes: >This statement is oxymoronic. A type is defined by the interfaces it >accepts. There is no other definition of a type. Thus, the statement >above could be translated as follows: Not true. There are other definitions of type. For example, in some languages we could have a "ball" class and a "cat" class, both of which respond to the message "kick", yet there is no explicit "kickable" class. So, while you might argue that conceptually there is a "kickable" type, nobody does this in practice, because it could lead to an order of magnitude increase in the number of "types" identified in a system. -- --------------------------------------------------------------- | Chris Bitmead.....................................9690 5727 | | Chris.Bitmead@Alcatel.com.au............................... | --------------------------------------------------------------- The fact that it works is immaterial. -- L. Ogborn