From: magnus@lglsun.epfl.ch (Magnus Kempe)
Subject: Ada 9X _has_ "class"
Date: 18 Mar 93 17:34:19 GMT
Date: 1993-03-18T17:34:19+00:00 [thread overview]
Message-ID: <1993Mar18.181325@lglsun.epfl.ch> (raw)
For those concerned with market penetration.
Ada 9X _does_ have classes (conceptually and literally):
type T_Ref is access T'class; -- note: "class"
procedure P (X : T'class) is -- note: "class"
Y : T'class := X; -- note: "class"
begin
...
end P;
In addition, Ada 9X clearly distinguishes between types that belong
to classes ("Tag", they're it...) and types that don't. This is
particularly important for real-time systems. Some people might
want to avoid any possibility of e.g. hidden run-time type-checking
or dynamic binding. The real-time community has contributed many
requirements to the language (have you seen the protected types?
the distributed systems annex?). Ada is not a toy language.
--
Magnus Kempe "No nation was ever drunk when wine was cheap."
magnus@lglsun.epfl.ch -- Thomas Jefferson
next reply other threads:[~1993-03-18 17:34 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1993-03-18 17:34 Magnus Kempe [this message]
-- strict thread matches above, loose matches on Subject: below --
1993-03-19 21:34 Ada 9X _has_ "class" John Goodsen
1993-03-24 16:16 ` Magnus Kempe
1993-03-25 10:27 ` Christophe Bruniau
1993-03-29 7:11 ` 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