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:a6b:b503:: with SMTP id e3-v6mr4076728iof.18.1527810619243; Thu, 31 May 2018 16:50:19 -0700 (PDT) X-Received: by 2002:a9d:6183:: with SMTP id g3-v6mr377087otk.3.1527810619092; Thu, 31 May 2018 16:50:19 -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-v6no1394685itc.0!news-out.google.com!b185-v6ni1432itb.0!nntp.google.com!u74-v6no1409777itb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Thu, 31 May 2018 16:50:18 -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: <534965d3-e494-476b-8a91-6cf9f376c020@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <6c340580-bded-48cc-98e7-ec0fb2b3d57a@googlegroups.com> 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: Thu, 31 May 2018 23:50:19 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Xref: reader02.eternal-september.org comp.lang.ada:52831 Date: 2018-05-31T16:50:18-07:00 List-Id: On Thursday, May 31, 2018 at 5:45:37 PM UTC-5, Randy Brukardt wrote: > "Dan'l Miller" wrote in message=20 > news:534965d3-e494-476b-8a91-6cf9f376c020@googlegroups.com... > ... > >Btw, I realize that Ada's _LRM_ utilizes 1,000 times the term "inherit"= =20 > >colloquially > >in the sense of OP's and Dmitry's usage. >=20 > Nothing "colloquially" about it: any term not defined in the RM is used i= n=20 > its English language sense, and specifically from a definition based on a= =20 > particular dictionary (see 1.3). (Well, there's an exception for=20 > mathematical terms, but "inherit" surely isn't one of those. >=20 > In any case, I'm only interested in the terminology of the RM when it com= es=20 > to discussing Ada. Dmitry has taught me well that there is no point is=20 > spending a moment arguing with someone that uses words in some other way = -=20 > it's virtually impossible even understand what they're actually talking= =20 > about. So I'm not going to waste any more time in this subthread. >=20 > Randy. Well, Pierre America said in 1989 substantially the same thing as I did abo= ve about inheritance being different than subtyping, and thus needing two d= istinct non-conflated terms: https://www.researchgate.net/publication/234789659_A_behavioural_approach_t= o_subtyping_in_object-oriented_programming_languages Conversely in the conflated 2 usages of =E2=80=9Cinherit=E2=80=9D within th= e _LRM_, in that dictionary, inherit has 4 transitive-verb definitions. https://www.merriam-webster.com/dictionary/inherit I assume that only #4 is the one that you are evoking, because #1 speaks of= the divine, #2 speaks of biological death, and #3 speaks of genetics. definition #4: =E2=80=9Cto have in turn or =E2=80=A2receive=E2=80=A2 as if from an ancesto= r=E2=80=9D and its example usage: =E2=80=9Cinherited the problem from his predecessor=E2=80=9D In especially the example usage above in that dictionary definition, the in= herited problem is from a prior =E2=80=A2exemplar=E2=80=A2 from which the c= urrent office-holder's state has been =E2=80=A2received=E2=80=A2 as a copy = of the predecessor's state/characteristics. The predecessor office-holder = is more exemplar-to-copy than genetic ancestor passing estate on through bl= oodlines=E2=80=94thus illustrating my language in prior comments along this= thread. The current office-holder is more copy of state than heir of esta= te. And in OO inheritance or Ada83 untagged subtyping, the ancestor need n= ot die (or leave office), as in the dictionary definitions or their example= usages, so there does in fact appear to be a different OO definition being= utilized in the _LRM_ than the commonfolk dictionary definition of inherit= ance.