comp.lang.ada
 help / color / mirror / Atom feed
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: Pointers explained?
Date: Tue, 31 Jul 2007 09:33:41 +0200
Date: 2007-07-31T09:29:46+02:00	[thread overview]
Message-ID: <xk2v9mj31i70$.1oi9716p05xl5$.dlg@40tude.net> (raw)
In-Reply-To: 1185834962.845369.84390@g12g2000prg.googlegroups.com

On Mon, 30 Jul 2007 15:36:02 -0700, Adam Beneschan wrote:

> Those programmers would see the error
> message that says 'Access is illegal because of the accessibility
> rules, and figure they can solve the problem simply by changing it to
> 'Unchecked_Access".  Unfortunately, I've seen that sort of Ada code---
> quite frustrating.

I disagree. Unchecked_Access is required too often to be discarded as just
a problem of lazy programmers. Sometimes the rules are too strict,
sometimes pointers are forced where objects should be used instead (like in
function parameters or in discriminants). To me it is an indicator of some
language design problems.

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de



  reply	other threads:[~2007-07-31  7:33 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-30 17:53 Pointers explained? shaunpatterson
2007-07-30 17:56 ` shaunpatterson
2007-07-30 19:04   ` Ed Falis
2007-07-30 19:05   ` Ludovic Brenta
2007-07-30 19:36   ` Adam Beneschan
2007-07-30 21:23     ` Maciej Sobczak
2007-07-30 22:36       ` Adam Beneschan
2007-07-31  7:33         ` Dmitry A. Kazakov [this message]
2007-07-31  1:15       ` Anh Vo
2007-07-30 22:20     ` Adam Beneschan
2007-07-30 21:31   ` Jeffrey R. Carter
2007-07-31 17:21   ` Simon Wright
2007-07-31 18:06     ` Dmitry A. Kazakov
2007-07-31 22:38       ` shaunpatterson
2007-08-01  7:53         ` Martin Krischik
2007-08-01  8:21         ` Dmitry A. Kazakov
2007-08-10 19:52         ` Simon Wright
2007-07-30 20:11 ` Dmitry A. Kazakov
2007-07-31  8:28 ` Martin Krischik
  -- strict thread matches above, loose matches on Subject: below --
2007-07-30 17:53 shaunpatterson
replies disabled

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