comp.lang.ada
 help / color / mirror / Atom feed
From: Robert A Duff <bobduff@world.std.com>
Subject: Re: 'Read for pointers
Date: 2000/07/31
Date: 2000-07-31T00:00:00+00:00	[thread overview]
Message-ID: <wcc1z0ab4pr.fsf@world.std.com> (raw)
In-Reply-To: uem4awakr.fsf@gsfc.nasa.gov

Stephen Leake <stephen.a.leake.1@gsfc.nasa.gov> writes:

> I stand corrected. I guess the Ada designers were trying to prevent
> garbage pointers. I think I'd prefer the standard "initialized to
> null" behavior here, for consistency. 

I kind of agree.  But suppose you pass something as an 'out' parameter,
and under some conditions, the called procedure does not assign into
it.  Do you really want the actual to be set to null in that case?
Perhaps so...

- Bob




  parent reply	other threads:[~2000-07-31  0:00 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-07-26  0:00 'Read for pointers Ted Dennison
2000-07-26  0:00 ` Pat Rogers
2000-07-28  0:00   ` Stephen Leake
2000-07-28  0:00     ` tmoran
2000-07-29  0:00     ` Pat Rogers
2000-07-31  0:00       ` Stephen Leake
2000-07-31  0:00         ` Pat Rogers
2000-07-31  0:00         ` Robert A Duff [this message]
2000-07-26  0:00 ` Pat Rogers
2000-07-26  0:00   ` tmoran
2000-07-26  0:00     ` Pat Rogers
2000-07-27  0:00       ` tmoran
2000-07-26  0:00         ` Pat Rogers
2000-07-27  0:00   ` Ted Dennison
2000-07-27  0:00     ` Pat Rogers
2000-07-27  0:00       ` Ted Dennison
2000-07-27  0:00         ` Pat Rogers
2000-07-28  0:00 ` Stephen Leake
2000-07-31  0:00   ` Ted Dennison
replies disabled

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