comp.lang.ada
 help / color / mirror / Atom feed
From: "Dan'l Miller" <optikos@verizon.net>
Subject: Re: about inheritance of subtypes and entities (such as constants) related to a type in the same package
Date: Thu, 31 May 2018 16:50:18 -0700 (PDT)
Date: 2018-05-31T16:50:18-07:00	[thread overview]
Message-ID: <6c340580-bded-48cc-98e7-ec0fb2b3d57a@googlegroups.com> (raw)
In-Reply-To: <peptug$sd0$1@franka.jacob-sparre.dk>

On Thursday, May 31, 2018 at 5:45:37 PM UTC-5, Randy Brukardt wrote:
> "Dan'l Miller" wrote in message 
> news:534965d3-e494-476b-8a91-6cf9f376c020@googlegroups.com...
> ...
> >Btw, I realize that Ada's _LRM_ utilizes 1,000 times the term "inherit" 
> >colloquially
> >in the sense of OP's and Dmitry's usage.
> 
> Nothing "colloquially" about it: any term not defined in the RM is used in 
> its English language sense, and specifically from a definition based on a 
> particular dictionary (see 1.3). (Well, there's an exception for 
> mathematical terms, but "inherit" surely isn't one of those.
> 
> In any case, I'm only interested in the terminology of the RM when it comes 
> to discussing Ada. Dmitry has taught me well that there is no point is 
> spending a moment arguing with someone that uses words in some other way - 
> it's virtually impossible even understand what they're actually talking 
> about. So I'm not going to waste any more time in this subthread.
> 
>                                        Randy.

Well, Pierre America said in 1989 substantially the same thing as I did above about inheritance being different than subtyping, and thus needing two distinct non-conflated terms:

https://www.researchgate.net/publication/234789659_A_behavioural_approach_to_subtyping_in_object-oriented_programming_languages

Conversely in the conflated 2 usages of “inherit” within the _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:
“to have in turn or •receive• as if from an ancestor”
and its example usage:
“inherited the problem from his predecessor”

In especially the example usage above in that dictionary definition, the inherited problem is from a prior •exemplar• from which the current office-holder's state has been •received• 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 bloodlines—thus illustrating my language in prior comments along this thread.  The current office-holder is more copy of state than heir of estate.  And in OO inheritance or Ada83 untagged subtyping, the ancestor need not 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 inheritance.

  reply	other threads:[~2018-05-31 23:50 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-26 16:14 about inheritance of subtypes and entities (such as constants) related to a type in the same package Mehdi Saada
2018-05-26 16:44 ` Mehdi Saada
2018-05-29 22:07   ` Randy Brukardt
2018-05-29 22:12 ` Randy Brukardt
2018-05-30  8:13   ` Dmitry A. Kazakov
2018-05-30 19:25     ` Randy Brukardt
2018-05-30 19:45       ` Dmitry A. Kazakov
2018-05-30 19:59         ` Randy Brukardt
2018-05-31  8:44           ` Dmitry A. Kazakov
2018-05-31 22:48             ` Randy Brukardt
2018-05-31 23:39               ` Mehdi Saada
2018-06-01  2:50                 ` Shark8
2018-06-01  7:35                 ` Dmitry A. Kazakov
2018-05-30 20:53   ` Dan'l Miller
2018-05-31  8:54     ` Dmitry A. Kazakov
2018-05-31 14:29       ` Dan'l Miller
2018-05-31 14:38         ` Dan'l Miller
2018-05-31 17:37         ` Dmitry A. Kazakov
2018-05-31 18:53           ` Dan'l Miller
2018-05-31 19:59             ` Dmitry A. Kazakov
2018-05-31 21:10               ` Dan'l Miller
2018-06-01  7:56                 ` Dmitry A. Kazakov
2018-06-01 14:01                   ` Dan'l Miller
2018-06-01 15:27                     ` Dmitry A. Kazakov
2018-05-31 22:45             ` Randy Brukardt
2018-05-31 23:50               ` Dan'l Miller [this message]
2018-06-01  7:38               ` Dmitry A. Kazakov
2018-05-31 22:34     ` Randy Brukardt
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox