comp.lang.ada
 help / color / mirror / Atom feed
From: "Mark Lundquist" <mlundquist2@attbi.com>
Subject: Re: Ada2005
Date: Wed, 12 Dec 2001 18:04:32 GMT
Date: 2001-12-12T18:04:32+00:00	[thread overview]
Message-ID: <Q_MR7.13041$7y.146471@rwcrnsc54> (raw)
In-Reply-To: 3C1754BA.C4560423@informatik.uni-jena.de


"Carsten Freining" <freining@informatik.uni-jena.de> wrote in message
news:3C1754BA.C4560423@informatik.uni-jena.de...
> Hello Peter,
>
> I think Ada95 needs a very urgent revision.
>
> 1. There are many things that have been overtaken by Ada83 and can be
> removed now. Since everybody knew it would be removed no new software
should
> rely on it.

Can you give more detail?  Which things?  I take it you mean more than just
the Annex J stuff -- its presence in an annex can't be giving anyone so much
trouble as to call for a "very urgent revision"...

Please elaborate... I'm sure many of us are interested.

>
> 2. There are many problems that have been created by Ada95.
>
> Best example is the object oriented part, because it is not possible to
have
> constants as components.

Why would you want to have a constant (in the Ada95 sense) as a component
(of a non-constant composite type)?

Perhaps you mean an immutable component, but Ada already has those
(discriminants).

> There are no real bindings between methods (or
> procedures) and the belonging class. It is just a package.

What's "just" about a package :-), and how is that not a "real" binding?
Generally, subprograms operating on a type and declared in the immediate
scope of the type are the primitive (heritable) operations, i.e. methods.
The method declarations are not textually included in the type definition
syntax, but how is that a problem?

You're never going to get Ada changed into a class-oriented language, if
that's what you're after.  There are just too many users who feel that
class-orientedness is a Bad Thing.  We believe in strong encapsulation, and
also in using the best tools for the job, including inheritance and
polymorphism whenever they are the best tool, but we don't like the
distorted perspective of class-orientation.

Here's an interesting thing to think about... Ada is a language that (a) is
lexically scoped, and (b) unifies encapsulation with namespace control,
where the namespace is hierarchial (public and private child packages).  So
ironically, Ada allows for tighter encapsulation than that provided by flat
class-oriented languages.  (It also allows for looser encapsulation, by
permitting object declarations in package specs, arguably a Bad Thing).

But adding class-orientation would add nothing to Ada, and IMO would
compromise its conceptual integrity.  The designers of Ada95 did the right
thing.

What other problems are created by Ada95?

>
> And there is still the fixed length String. I don't think it is
neccessary.
> It would be better to have only the bounded-length string. For downwards
> compatibility they both can still be available, but I think it is an
ancient
> thing to still have a fixed length String were only String with exactly
the
> same length can be assigned.

How would it help the language to do away with fixed-length strings?

String manipulation in Ada has a "functional" flavor that is hard for
beginners to comprehend right away, especially if they have been conditioned
by exposure to languages where "constant" entails "static".  But once you
get the hang of it, it's easy and elegant.

>
> These are only the examples coming to my mind reading, that Ada95 needs no
> revision. There are many more (it is just hard to put them together in a
> couple of minutes). We went through the rational and compared the stuff
> there with the Standard and we found many things, where ada 95 has been
> behind all other techniques right from the start.

Did you write a paper or something?  Can you give your results in more
detail?

Best Regards,
Mark Lundquist






  parent reply	other threads:[~2001-12-12 18:04 UTC|newest]

Thread overview: 83+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-12-11  9:33 Ada2005 Peter Hermann
2001-12-11 11:05 ` Ada2005 M. A. Alves
2001-12-11 11:55   ` Ada2005 Aaro Koskinen
2001-12-11 14:49     ` Ada2005 Wes Groleau
2001-12-11 14:58     ` Ada2005 Marin David Condic
2001-12-11 15:18       ` Ada2005 Ted Dennison
2001-12-12  8:37       ` Ada2005 Alfred Hilscher
2001-12-11 11:23 ` Ada2005 Martin Dowie
2001-12-11 11:54 ` Ada2005 Preben Randhol
2001-12-11 12:06 ` Ada2005 Larry Kilgallen
2001-12-11 14:39 ` Ada2005 Ted Dennison
2001-12-12  4:39   ` Ada2005 Jeffrey Carter
2001-12-13 18:39   ` Ada2005 Randy Brukardt
2001-12-12 11:29 ` Ada2005 Peter Hermann
2001-12-12 12:42   ` Ada2005 Larry Kilgallen
2001-12-12 12:51   ` Ada2005 Martin Dowie
2001-12-12 12:59   ` Ada2005 Carsten Freining
2001-12-12 14:40     ` Ada2005 Peter Hermann
2001-12-12 15:16       ` Ada2005 Ted Dennison
2001-12-12 15:37         ` Ada2005 Larry Kilgallen
2001-12-12 17:49           ` Ada2005 Ted Dennison
2001-12-12 18:02         ` Ada2005 tmoran
2001-12-12 18:17           ` Ada2005 Ted Dennison
2001-12-12 18:31             ` Ada2005 Sergey Koshcheyev
2001-12-12 19:08               ` Ada2005 Ted Dennison
2001-12-12 18:14         ` Ada2005 Mark Lundquist
2001-12-12 18:40           ` Ada2005 Ted Dennison
2001-12-12 19:12             ` Ada2005 Mark Lundquist
2001-12-12 19:41               ` Ada2005 Ted Dennison
2001-12-13 20:07         ` Ada2005 Ted Dennison
2001-12-14  4:40       ` Ada2005 Patrick Hohmeyer
2001-12-14  9:55         ` Ada2005 Lutz Donnerhacke
2001-12-14 10:36         ` Ada2005 Dmitry A. Kazakov
2001-12-17 18:40         ` Ada2005 Matthew Heaney
2001-12-12 18:04     ` Mark Lundquist [this message]
2001-12-12 21:25       ` Ada2005 Mark Lundquist
2001-12-13 18:40         ` Ada2005 Stephen Leake
2001-12-13 19:01           ` Ada2005 Mark Lundquist
2001-12-14 17:17             ` Ada2005 Stephen Leake
2001-12-13  9:11       ` Ada2005 Dmitry A. Kazakov
2001-12-17 17:50         ` Ada2005 Ray Blaak
2001-12-18 11:55           ` Ada2005 Dmitry A. Kazakov
2001-12-18 19:51             ` Ada2005 Ray Blaak
2001-12-19  8:34               ` Ada2005 Dmitry A. Kazakov
2001-12-19 13:30                 ` Ada2005 Mark Lundquist
2001-12-19 18:23                 ` Ada2005 Ray Blaak
2001-12-19 18:20           ` Ada2005 Mark Lundquist
2001-12-19 19:19             ` Ada2005 Ray Blaak
2001-12-20 14:17             ` Ada2005 Dmitry A. Kazakov
2001-12-20 11:24       ` Ada2005 Carsten Freining
2001-12-20 14:27         ` Ada2005 Mark Lundquist
2001-12-20 15:01         ` Ada2005 Matthew Woodcraft
2001-12-20 15:45         ` Ada2005 Mark Lundquist
2001-12-20 16:20           ` Ada2005 Mark Lundquist
2001-12-13 18:13     ` Ada2005 Georg Bauhaus
2001-12-20 16:34 ` Math Libraries (was Re: Ada2005) Marin David Condic
2001-12-20 20:14   ` FGD
2001-12-20 20:34     ` Marin David Condic
2001-12-21 17:21       ` FGD
2001-12-21 18:08         ` Marin David Condic
2001-12-21 19:40           ` tmoran
2001-12-21 19:45             ` Marin David Condic
2001-12-21 20:35             ` Dan Nagle
2001-12-21 20:31           ` Eric Merritt
2001-12-22 16:56           ` Math Update for Ada 2005 Steven Deller
2001-12-23 15:13             ` Robert Dewar
2001-12-23 22:43               ` Brian Rogoff
2001-12-22 21:48           ` Math Libraries (was Re: Ada2005) FGD
2002-01-02 14:20         ` Jacob Sparre Andersen
2001-12-20 23:20   ` Robert C. Leif, Ph.D.
2001-12-21 14:49     ` Marin David Condic
  -- strict thread matches above, loose matches on Subject: below --
2001-12-12 14:05 Ada2005 Peter Hermann
2002-12-17  7:15 Ada2005 Karel Miklav
2002-12-17 11:43 ` Ada2005 Peter Amey
2002-12-17 15:11   ` Ada2005 Robert A Duff
2002-12-17 14:14 ` Ada2005 Ted Dennison
2002-12-17 15:54   ` Ada2005 Peter Hermann
2002-12-18  9:04     ` Ada2005 Anders Wirzenius
2002-12-18 14:48       ` Ada2005 Ted Dennison
2002-12-19  9:01         ` Ada2005 Anders Wirzenius
2005-03-24 14:36 Ada2005 Szymon Guz
2005-03-24 15:30 ` Ada2005 Xaelis
2005-03-24 15:32 ` Ada2005 Larry Kilgallen
replies disabled

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