comp.lang.ada
 help / color / mirror / Atom feed
From: aschwarz@acm.org (skidmarks)
Subject: Re: Ada Pointer Problem
Date: 6 Oct 2004 08:43:23 -0700
Date: 2004-10-06T08:43:23-07:00	[thread overview]
Message-ID: <35f054ea.0410060743.7b73aac3@posting.google.com> (raw)
In-Reply-To: 7KadnU33z-bmpsLcRVn-og@megapath.net

Thank you all. I think that 'Unchecked_Access is probably the answer.

But, to be a little critical, since we want to be really, really safe,
we should provide a unique check/uncheck access for each bit in a
pointer. That way we can be extra-special sure that:
1. The meaning is precise and clear,
2. The program will lack lucidity because of the obtuseness of the
suggestion, and
3. Where one line is suitable in other languages, several are due in
Ada.

And yes, I am frustrated.

A little anecdote. I've followed Ada since it's pre-inception in the
mid-70's, and still have the original SigPlan Green Book. I liked the
idea of Ada and the language of Ada, until 1988. In 1988 I had a
little design problem that I wanted to solve with a pointer. I looked,
and looked, and looked all over the LRM and Ada as a Second Language
(by Cohen) for a pointer. After four hours I found 'Access Type'. It
took four hours to solve a four minute problem. I think because of Ada
snobishnes (we can do better than you can and can do it without using
your keywords or terminology).

I think that I'm better than fair in Ada. I also think that I'm
wasting time on this language. It takes too long to do simple things,
and is a research effort to do the possible but not pedestrian.

Please take this as a critique and not a criticism. I would rather see
improvements than be wasted by flame.

art



  reply	other threads:[~2004-10-06 15:43 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-01 19:34 Ada Pointer Problem aschwarz1309
2004-10-02  0:47 ` Jeffrey Carter
2004-10-02 23:37   ` Randy Brukardt
2004-10-06 15:43     ` skidmarks [this message]
2004-10-06 18:19       ` Jeffrey Carter
2004-10-16  3:53         ` Benjamin Ketcham
2004-10-16 13:25           ` John B. Matthews
2004-10-18 18:09           ` Georg Bauhaus
2004-10-06 19:29       ` Georg Bauhaus
2004-10-07 18:45         ` skidmarks
2004-10-08  0:35           ` Jeffrey Carter
2004-10-08 12:02           ` Jean-Pierre Rosen
2004-10-08 16:58             ` Ludovic Brenta
2004-10-08 23:26             ` Björn Persson
2004-10-10 18:01             ` skidmarks
2004-10-08 14:03           ` Georg Bauhaus
2004-10-08 14:23           ` Dale Stanbrough
  -- strict thread matches above, loose matches on Subject: below --
2004-10-01 15:26 skidmarks
2004-10-01 15:50 ` David C. Hoos
2004-10-01 18:15   ` Jeffrey Carter
2004-10-01 17:24 ` Ludovic Brenta
replies disabled

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