comp.lang.ada
 help / color / mirror / Atom feed
From: bobduff@world.std.com (Robert A Duff)
Subject: Re: Ada83 equivalents for Ada95
Date: 1996/05/11
Date: 1996-05-11T00:00:00+00:00	[thread overview]
Message-ID: <Dr7tno.Lvu@world.std.com> (raw)
In-Reply-To: 3193BA1E.31C1@csehp3.mdc.com


In article <3193BA1E.31C1@csehp3.mdc.com>,
James A. Squire <m193884@CSEHP3.MDC.COM> wrote:
>No.  I wanted to be able to show "what you have to go through to do
><this> in Ada83" and do comparisons.

Oh.  Sorry I missed the point.

I think the Rationale has some comparisons that might be of interest.
It's at:

  ftp://sw-eng.falls-church.va.us/public/adaic/docs/standard/95lrm_rat/v6.0

Also, it's not too hard to come up with such examples.  Write something
using a protected type, and then write the same thing using rendezvous.
Use a conditional entry call to illustrate one nice thing about Ada 95.

Write a hierarchy of tagged types, with dispatching operations, and
compare it to the equivalent variant record with case statements.

Write a package, with a private type, and a child package.  Compare to
the equivalent Ada 83 code, which either combines everything into one
package, or else exports private information to clients.

Write some code that deals with money, using decimal types, and try to
write the same thing in Ada 83.

Etc.

- Bob




  reply	other threads:[~1996-05-11  0:00 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <md5:492A761845FE7D43B3C33CDDC6DB8CD0>
1996-05-10  0:00 ` Ada83 equivalents for Ada95 James A. Squire
1996-05-11  0:00   ` Robert A Duff [this message]
     [not found] <md5:0CCFC2005521EA8746533FEB9AA03D75>
1996-05-09  0:00 ` James A. Squire
1996-05-10  0:00   ` Robert A Duff
1996-05-24  0:00     ` Joe Gwinn
1996-05-25  0:00       ` JP Thornley
1996-05-28  0:00       ` Brad Balfour
1996-05-28  0:00         ` Robert A Duff
1996-05-29  0:00           ` Ken Garlington
1996-05-29  0:00           ` Norman H. Cohen
1996-05-28  0:00 ` Jon S Anthony
1996-05-29  0:00 ` Ken Garlington
1996-05-31  0:00   ` Robert Dewar
1996-06-03  0:00     ` Ken Garlington
1996-06-03  0:00       ` Robert Dewar
1996-05-25  0:00 tmoran
  -- strict thread matches above, loose matches on Subject: below --
1996-05-10  0:00 tmoran
1996-05-11  0:00 ` Tucker Taft
replies disabled

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