comp.lang.ada
 help / color / mirror / Atom feed
From: magnus@lglsun.epfl.ch (Magnus Kempe)
Subject: Re: Ada 9X _has_ "class"
Date: 24 Mar 93 16:16:38 GMT
Date: 1993-03-24T16:16:38+00:00	[thread overview]
Message-ID: <1993Mar24.164424@lglsun.epfl.ch> (raw)
In-Reply-To: 1993Mar19.213439.2342@evb.com

jgg@evb.com (John Goodsen) quotes a lot and writes:
: 
: The 'CLASS attribute is not what you will see in marketing literature.
: What you will see in Marketing literature is "tagged types".

I have seen a lot of marketing literature touting "inheritance" and
"polymorphism", although the programming languages involved did not have
such keywords.  In addition, I have never seen any ad revolving around
"int" for C, "VAR" for Pascal, or "!" for PROLOG.

If you have a specific, reasoned proposal for a valid syntax change in
Ada 9X, by all means write it.  But please, don't resort to fallacious
arguments.  Marketing droids should know better than throwing keywords
around in order to promote Ada (and any other programming language),
shouldn't they?

The primary goal w.r.t. Ada's syntax is to have a readable and
understandable language.  It has been explained several times that Ada
9X provides both specific types and classes (a set of related types).
These constructs are _so_ different that they should each be subsumed
by a specific concept, and these concepts should not be randomly
mixed.

Since a specific type is _not_ a class, it is quite reasonable to _not_
call it a "class".  If you think the distinction does not matter, or is
"merely technical", think twice.  A tagged type T is _not_ a class: it
is _in_ a class (T'class) as well as in the superclasses of T'class
(e.g. T_First'class).

-- 
Magnus Kempe                "No nation was ever drunk when wine was cheap."
magnus@lglsun.epfl.ch                                   -- Thomas Jefferson



  reply	other threads:[~1993-03-24 16:16 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1993-03-19 21:34 Ada 9X _has_ "class" John Goodsen
1993-03-24 16:16 ` Magnus Kempe [this message]
1993-03-25 10:27   ` Christophe Bruniau
1993-03-29  7:11     ` Magnus Kempe
  -- strict thread matches above, loose matches on Subject: below --
1993-03-18 17:34 Magnus Kempe
replies disabled

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