comp.lang.ada
 help / color / mirror / Atom feed
From: Robert A Duff <bobduff@shell01.TheWorld.com>
Subject: Re: Differences between Ada 83 and other revisions
Date: Sun, 16 Feb 2014 09:13:26 -0500
Date: 2014-02-16T09:13:26-05:00	[thread overview]
Message-ID: <wcczjlrjgc9.fsf@shell01.TheWorld.com> (raw)
In-Reply-To: a2f5ae62-cc3f-4cfb-ac78-b3ec0eae1c4a@googlegroups.com

Martin <martin@thedowies.com> writes:

> But at least it spells out that it is potentially dangerous by being
> called 'Unchecked", like all the other 'Unchecked" parts of the
> language ...very easy to find!

If only that were true.  I don't see any "unchecked" here:

    for X'Address use ...;

    X := ...;

It would be great if you could find all unsafe (i.e. potentially
erroneous) code by searching for something like "unchecked".
But alas.

On the bright side, Ada doesn't have very many unsafe features,
and mostly allows them to be avoided and/or encapsulated.
Compare with C, where every array indexing operation is unsafe.

- Bob

  reply	other threads:[~2014-02-16 14:13 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-13 15:59 Differences between Ada 83 and other revisions yoursurrogategod
2014-02-13 16:12 ` adambeneschan
2014-02-13 18:00   ` yoursurrogategod
2014-02-13 18:07 ` AdaMagica
2014-02-13 19:44 ` Niklas Holsti
2014-02-13 21:25   ` yoursurrogategod
2014-02-13 22:00     ` Niklas Holsti
2014-02-13 22:18       ` adambeneschan
2014-02-14 13:18         ` yoursurrogategod
2014-02-14 13:53           ` AdaMagica
2014-02-14 14:06           ` Jacob Sparre Andersen
2014-02-14 16:47           ` adambeneschan
2014-02-14 14:08         ` Robert A Duff
2014-02-16  9:36         ` Martin
2014-02-16 14:13           ` Robert A Duff [this message]
2014-02-16 15:58             ` J-P. Rosen
2014-02-19 22:09               ` Robert A Duff
2014-02-19 22:23                 ` J-P. Rosen
2014-02-19 22:37                   ` Robert A Duff
2014-04-19  8:59                     ` Jacob Sparre Andersen
2014-02-19 22:34                 ` adambeneschan
2014-02-19 22:58                   ` Robert A Duff
2014-02-13 21:28 ` yoursurrogategod
2014-02-13 23:31   ` Randy Brukardt
2014-02-20 10:30     ` john
replies disabled

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