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.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 2002:a24:4913:: with SMTP id z19-v6mr1672615ita.35.1527713632614; Wed, 30 May 2018 13:53:52 -0700 (PDT) X-Received: by 2002:a9d:6183:: with SMTP id g3-v6mr180703otk.3.1527713632465; Wed, 30 May 2018 13:53:52 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!feeder.eternal-september.org!news.linkpendium.com!news.linkpendium.com!news.snarked.org!border2.nntp.dca1.giganews.com!nntp.giganews.com!v8-v6no131908itc.0!news-out.google.com!b185-v6ni112itb.0!nntp.google.com!u74-v6no133900itb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Wed, 30 May 2018 13:53:51 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=47.185.233.194; posting-account=zwxLlwoAAAChLBU7oraRzNDnqQYkYbpo NNTP-Posting-Host: 47.185.233.194 References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: about inheritance of subtypes and entities (such as constants) related to a type in the same package From: "Dan'l Miller" Injection-Date: Wed, 30 May 2018 20:53:52 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Xref: reader02.eternal-september.org comp.lang.ada:52795 Date: 2018-05-30T13:53:51-07:00 List-Id: On Tuesday, May 29, 2018 at 5:12:23 PM UTC-5, Randy Brukardt wrote: > Inheritance in Ada was designed by Ichbiah in the late 1970s, Ummmmmmm, am I the only one cringing that the words {inherit, inheritance} = are being utilized at all regarding Ada83? Everyone please check the index= of the Ada83 _LRM_. The words {inherit, inheritance} never appear there a= t all. The derived-type and subtype concepts are defined rather differentl= y than any OO-esque definition of inherited. Yes, I realize that this thread is speaking colloquially in retrospect abou= t Ada83 features as primordial pre-OO. But the OP's entire topic is predic= ated on subtyping and type-derivation of non-tagged types that then abuses = the OO/Ada95 term "inheritance" as a proleptic anachronism, back misapplyin= g inheritance to the entirely-different Ada83 language that clearly lacks i= nheritance, in both name and spirit (or primordial soup thereof). Rather, = Ada83 has type derivation and subtyping, which despite the similarity of th= e name subtyping with OO's subclassing (made worse by C++'s &=C2=A0then lat= er Java's abuse of the term class to mean a single type instead of a tree o= f types), subtyping in Ada83 has nothing to do with subclassing in Ada95 or= any other OO=C2=A0language. This whole thread seems to have gotten off on the wrong foot of slamming p= roleptic anachronisms from Ada9X program ideas into Ada83 and never really = sorted out that fundamental mistake. >=C2=A0long before=20 > anyone really understood OOP or similar systems. Well, there was Simula in the 1960s. No less than Tony Hoare himself devis= ed the entire concept of a class of records in an inheritance hierarchy in = 1966 for Simula. Hoare &=C2=A0Wirth were involved with defining Yellow, a = competitor of Green/Ada. So there was some amount of big-brandname awarene= ss of OO even within the Ada color-languages competition during the 1970s. https://en.wikipedia.org/wiki/Simula And there was Smalltalk80, a contemporary of Ada, defined nearly the same y= ears as the selection of Ada/Green.