From: tedg@apollo.HP.COM (Ted Grzesik)
Subject: Re: Ada 9X Mapping
Date: 9 May 91 18:46:00 GMT [thread overview]
Message-ID: <5176c098.20b6d@apollo.HP.COM> (raw)
In-Reply-To: 1991May9.055530.1516@netcom.COM
In article <1991May9.055530.1516@netcom.COM> jls@netcom.COM (Jim Showalter) writes:
>Now now--let's not jump to conclusions. I've seen good C and wretched Ada,
>no doubt about it: nobody ever claimed otherwise. What IS claimed is that
>if you pull a listing at random from a pile of C programs and a listing
>at random from a pile of Ada programs and compare them, the smart money
>bet is that the Ada program is better engineered.
About the worst Ada code I've seen is by someone that was obviously a prior
C programmer. In general, I have observed code that was written in the
syntax of one language, but used the style of another language.
I worked on a large Ada program (an Ada compiler, to be precise) that used
lots of UNCHECKED_CONVERSION and UNCHECKED_DEALLOCATION. Once you've
introduced these two routines into your program, you're just writing fancy
C code. Using these routines indicates either a flaw in your design or a
limitation of the Ada language. Usually, it's a flaw in the design.
My $0.02
Ted Grzesik Massachusetts Language Lab Hewlett-Packard Company
tedg@apollo.hp.com Chelmsford, MA (508) 256-6600 x5959
"Civilization is the limitless multiplication of unnecessary necessities."
-- Mark Twain (Samuel Clemens)
next prev parent reply other threads:[~1991-05-09 18:46 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1991Apr15.144021.12618@aero.org| <jls.671848656@rutabaga>
1991-04-28 21:51 ` Ada 9X Mapping James THIELE
1991-05-09 5:55 ` Jim Showalter
1991-05-09 18:24 ` Larry M. Jordan
1991-05-09 18:46 ` Ted Grzesik [this message]
1991-05-14 23:08 ` Robert I. Eachus
1991-04-15 14:38 byrne
1991-04-17 0:37 ` Jim Showalter
1991-05-22 19:48 ` Ada9X Report to the Public Michele L. Kee
1991-05-22 19:53 ` Air Force's Interpretation of Ada "Cost Effective Policy" Michele L. Kee
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox