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=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fac41,c52c30d32b866eae X-Google-Attributes: gidfac41,public X-Google-Thread: 1108a1,c52c30d32b866eae X-Google-Attributes: gid1108a1,public X-Google-Thread: 103376,2ea02452876a15e1 X-Google-Attributes: gid103376,public From: stt@henning.camb.inmet.com (Tucker Taft) Subject: Re: Ada terminology (was Re: Real OO) Date: 1996/05/07 Message-ID: #1/1 X-Deja-AN: 153582662 sender: news@inmet.camb.inmet.com (USENET news) x-nntp-posting-host: henning.camb.inmet.com references: <4mn0vd$7o9@news.ox.ac.uk> followup-to: comp.lang.eiffel,comp.lang.ada,comp.object organization: Intermetrics, Inc. newsgroups: comp.lang.eiffel,comp.lang.ada,comp.object Date: 1996-05-07T00:00:00+00:00 List-Id: 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