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: 103376,b0d569080889afd6 X-Google-Attributes: gid103376,public From: mcc@entropy.cs.princeton.edu (Martin C. Carlisle) Subject: Re: A question for my personal knowledge. Date: 1999/05/13 Message-ID: <7hfghh$3hl$1@cnn.Princeton.EDU>#1/1 X-Deja-AN: 477570144 References: <1VEZ2.1515$I51.88140@carnaval.risq.qc.ca> <7h9pei$aut$1@nnrp1.deja.com> <373AC668.4824FF07@decada.enet.dec.com> <7hfctj$1kb4@drn.newsguy.com> Organization: US Air Force Academy, Dept of Computer Science Newsgroups: comp.lang.ada Date: 1999-05-13T00:00:00+00:00 List-Id: In article <7hfctj$1kb4@drn.newsguy.com>, Mike wrote: >In article <373AC668.4824FF07@decada.enet.dec.com>, Mike says... > >>If I were to teach programming today, I'd choose Ada 95 as the vehicle. >>It is a serious detriment to pedagogy (and to programming!) to muddle >>together the vehicle of polymorphism and the vehicle of abstraction as > >Ada OO mechanism is not simple and I find it confusing. a class is the >most basic concept in OO, and Ada does not have it. No wonder all heavely >used OO languages today use the class concept (C++, Java) even Simula >the original OO language used a class to represent objects with. All except >Ada does it different. Of course Ada has a class-- it's called a tagged record. It has attributes and methods (which must be declared together with it). The original poster merely points out that you can select whether to have multiple classes together in the same abstraction. --Martin -- Martin C. Carlisle, Asst Prof of Computer Science, US Air Force Academy carlislem@acm.org, http://www.usafa.af.mil/dfcs/bios/carlisle.html DISCLAIMER: This content in no way reflects the opinions, standards or policy of the US Air Force Academy or the United States Government.