comp.lang.ada
 help / color / mirror / Atom feed
From: Richard D Riehle <laoXhai@ix.netcom.com>
Subject: Re: An alternative to Unchecked Conversion
Date: 1999/12/16
Date: 1999-12-16T23:17:09+00:00	[thread overview]
Message-ID: <83brtl$c0m$1@nntp2.atl.mindspring.net> (raw)
In-Reply-To: 38596575_4@news1.prserv.net

In article <38596575_4@news1.prserv.net>,
	"Matthew Heaney" <matthew_heaney@acm.org> wrote:

>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.

Good response, Matthew.  I think the issue is that Ada is, by default,
type safe.  The C family of languages is, by default, type unsafe. This
is also true of some other languages.  There are times when one requires
type unsafe.  Ada lets you relax the default with unchecked conversion.  

For the C family of languages, one can improve type safety, but type 
unsafe is always lying in the shallows waiting to swallow you like an
anaconda waiting for an unwary monkey.  

Richard Riehle




  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 ` Jeff Creem
1999-12-16  0:00 ` Mark A Biggar
1999-12-16  0:00 ` Matthew Heaney
1999-12-16  0:00   ` Tom Hargraves
1999-12-16  0:00     ` DuckE
1999-12-16  0:00     ` Matthew Heaney
1999-12-17  0:00       ` Lutz Donnerhacke
1999-12-17  0:00         ` Matthew Heaney
     [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 [this message]
1999-12-17  0:00     ` Ted Dennison
1999-12-17  0:00       ` Richard D Riehle
replies disabled

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