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,5d1a3f61b976f446,start X-Google-Attributes: gid109fba,public X-Google-Thread: 1108a1,c52c30d32b866eae X-Google-Attributes: gid1108a1,public X-Google-Thread: 1014db,5d1a3f61b976f446,start X-Google-Attributes: gid1014db,public X-Google-Thread: 103376,2ea02452876a15e1 X-Google-Attributes: gid103376,public From: cjames3@concentric.net (The Right Reverend Colin James III) Subject: Re: Ada terminology (was Re: Real OO) Date: 1996/05/07 Message-ID: <318fd90d.4437400@news.concentric.net>#1/1 X-Deja-AN: 153675145 references: <4mn0vd$7o9@news.ox.ac.uk> organization: CEC Services, LLC reply-to: cjames3@concentric.net newsgroups: comp.lang.ada,comp.object,comp.lang.c,comp.lang.c++ Date: 1996-05-07T00:00:00+00:00 List-Id: Stop posting this crap to comp.lang.eiffel. ------------------------------------------------------------- stt@henning.camb.inmet.com (Tucker Taft) posted with deletions: | David Hopwood (lady0065@sable.ox.ac.uk) wrote: | | : Maybe it's just me, but... | : Why does Ada use the words 'type' and 'class' in the opposite sense | : to everyone else? | | Various reasons: | | 1) History -- Ada has used the terms "type" and "class of types" | since 1979. | | 2) "Class" is a synonym for "set" in mathematics, so at least | we use "class" the same way mathematicians do. | | 3) In many OOPs, the term "class" means 3 different things, depending | on context: | a) A syntactic construct that encapsulates the data and | function component definitions; | b) A particular type defined by a "class" construct; | c) The set of types containing a type and all its descendants. | | In Ada, these three concepts have three different names: | | a) A package | b) A type | c) A (derivation) class (of types) | | Your mileage may vary... | | : David Hopwood | : david.hopwood@lmh.ox.ac.uk | | -Tucker Taft stt@inmet.com http://www.inmet.com/~stt/ | Intermetrics, Inc. Cambridge, MA USA ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ Re-usable, patented software for banks and financial markets. Mirror sites: www.cec-services.com & www.cris.com/~cjames3 Colin James III, Principal Scientist, cjames@cec-services.com CEC Services, LLC, 2080 Kipling St, Lakewood, CO 80215-1502 Voice: 303.231.9437; Facs: 303.231.9438; Data: 303.231.9434 ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~