comp.lang.ada
 help / color / mirror / Atom feed
From: pipex!uknet!warwick!zaphod.crihan.fr!univ-lyon1.fr!scsing.switch.ch!sicsu n!disuns2.epfl.ch!lglsun!nebbe@uunet.uu.net  (Robb Nebbe)
Subject: Re: Classes vs Tagged Types - Terminology
Date: 7 Apr 93 13:49:59 GMT	[thread overview]
Message-ID: <1993Apr7.153756@lglsun.epfl.ch> (raw)

In article <1993Apr6.164642.9487@cenatls.cena.dgac.fr>, bruniau@cenatls.cena.dg
ac.fr (Christophe Bruniau) writes:
: 
: In article <1993Apr5.155419.8598@evb.com>, jgg@evb.com (John Goodsen) writes:
: |> In <1993Mar25.155650.16244@inmet.camb.inmet.com> 
: |> stt@spock.camb.inmet.com (Tucker Taft) writes:
: |> 
: |> >
: |> >In Ada 9X, it is only class-wide types (named "T'Class") that provide
: |> >subclass matching.
: |> >                      ^^^^^^^^^^^^^^^^^
: |>                        Didn't you mean "tagged types" :-)
: |> 
: |> Can we take this as an indicator that you are about ready to
: |> abondon the "tagged type" terminology and adopt the more
: |> appropriate "class type" terminology?  It seems that even
: |> members of the 9X project are shying away from using "tagged
: |> type" these days, so why don't just finish the scenario and
: |> adopt the "class type" syntax and terminology ...
: |> 
: |> fingers crossed...
: |> 
: 
: Does anyone know the original reason why "tagged type" was introduced,
:  instead of something like "class type" ?
: 
: Christophe BRUNIAU     bruniau@cenatls.cena.dgac.fr

Yes. I posted the reasons I had found about two? weeks ago. It basically
comes down to an implementation issue.

It is possible to come up with a language that does not use tagged
and is not ambiguous. The problem with this approach is that it would
be far too difficult to implement.

Since tagged is there for implementation reasons (representation clauses
and declaring tagged types below the library level are the stumbling 
blocks) I don't think you could come up with a better term than tagged.

However it is for this very reason that you will get nowhere it you try
and push tagged type as being a feature. The OO features being added are
class-wide types (T'Class where T is a tagged type) and type extension
(between tagged types) as well as hierachical library units.

Robb

             reply	other threads:[~1993-04-07 13:49 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1993-04-07 13:49 pipex!uknet!warwick!zaphod.crihan.fr!univ-lyon1.fr!scsing.switch.ch!sicsu [this message]
  -- strict thread matches above, loose matches on Subject: below --
1993-04-06 16:46 Classes vs Tagged Types - Terminology mcsun!julienas!newsserver!geant!bruniau
1993-04-06 16:36 Harry Koehnemann
1993-04-05 15:54 John Goodsen
1993-04-05 23:04 ` Mark A Biggar
1993-03-22 11:46 Charles Lindsey
1993-03-24  7:42 ` Richard A. O'Keefe
1993-03-25 15:56   ` Tucker Taft
1993-03-26 11:02     ` Stephen J Bevan
1993-03-30 14:34       ` Tucker Taft
1993-03-31 16:21         ` Stephen J Bevan
1993-03-31 20:46         ` Robert I. Eachus
1993-03-24  8:58 ` Robb Nebbe
1993-03-25  0:15   ` David Emery
1993-03-29  9:26     ` Robb Nebbe
replies disabled

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