From: "Tom Hargraves" <tharg@vtcinet.com>
Subject: Re: An alternative to Unchecked Conversion
Date: 1999/12/16
Date: 1999-12-16T00:00:00+00:00 [thread overview]
Message-ID: <3859701a@rsl2.rslnet.net> (raw)
In-Reply-To: 38596575_4@news1.prserv.net
Oops. Excuse my English. I meant to express the opinion that
Unchecked_Conversion _need_ rarely if ever be used, in 'normal' programming
practice. So I think we are in agreement here. Why disable one of the best
features of Ada if you don't need to :-)
I welcome comments re. the technical merits of address mapping vs.
unchecked_conversion. For me address mapping worked fine, whereas
unchecked_conversion did a lot of additional data copying. So that's why I
didn't use it. What did I loose?
Yours curiously,
Tom H.
Matthew Heaney <matthew_heaney@acm.org> wrote in message
news:38596575_4@news1.prserv.net...
> In article <OF2D01D779.211C774B-ON88256849.006FEEEF@ray.ca> ,
> Tom_Hargraves@Raytheon.com wrote:
>
> > There have been some good responses to the related topic. I agree with
the
> > sentiment that Unchecked_Conversion should be rarely if ever used.
>
> This is very naive. Of course you should use Unchecked_Conversion.
> It's a clean way to bypass the type system, when you need to.
>
> Of course, if you don't need to bypass the type system, then there's no
> need to use UC. So the sentiment should be
>
> Don't bypass the type system unless you need to.
>
> However, when doing low-level, systems programming, you often need to
> perform type conversions, and UC is just what you need. So of course
> you should use it!
next prev parent reply other threads:[~1999-12-16 0:00 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-12-16 0:00 An alternative to Unchecked Conversion Tom_Hargraves
1999-12-16 0:00 ` Mark A Biggar
1999-12-16 0:00 ` Matthew Heaney
1999-12-16 0:00 ` Tom Hargraves [this message]
1999-12-16 0:00 ` Matthew Heaney
1999-12-17 0:00 ` Lutz Donnerhacke
1999-12-17 0:00 ` Matthew Heaney
1999-12-16 0:00 ` DuckE
[not found] ` <mhrj5s4qckk7rt1j3pu0s3r438e281pu37@4ax.com>
1999-12-17 0:00 ` Simon Wright
[not found] ` <g9rr5s84eeov4vvp2v9v70jo9b5uporm0v@4ax.com>
1999-12-20 0:00 ` Simon Wright
1999-12-23 0:00 ` Robert Dewar
1999-12-18 0:00 ` Rex Reges
1999-12-18 0:00 ` Matthew Heaney
1999-12-19 0:00 ` Robert Dewar
1999-12-20 0:00 ` Charles H. Sampson
1999-12-16 0:00 ` Richard D Riehle
1999-12-17 0:00 ` Ted Dennison
1999-12-17 0:00 ` Richard D Riehle
1999-12-16 0:00 ` Jeff Creem
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox