From: Robert A Duff <bobduff@shell01.TheWorld.com>
Subject: Re: C++ to Ada translator?
Date: Wed, 18 Sep 2002 20:33:38 GMT
Date: 2002-09-18T20:33:38+00:00 [thread overview]
Message-ID: <wccu1kn9gwt.fsf@shell01.TheWorld.com> (raw)
In-Reply-To: 1032380280.239075@master.nyc.kbcfp.com
Hyman Rosen <hyrosen@mail.com> writes:
> Ira Baxter wrote:
> > Lots of icky details invariably show up.
>
> I meant templates and multiple inheritance when I talked
> about losing the C++ nature in the translated code.
Yes, these are rather difficult problems.
But I think the way to judge these things is to think about what a good
human programmer would write in Ada, in a case where a good C++
programmer chose to use, say, multiple inheritance. It seems unfair to
expect *more* from a tool than one could expect from a human programmer.
The fact that multiple inheritance translates into something less
readable in Ada is not the fault of the translator -- it's caused by the
fact that Ada doesn't have multiple inheritance. (This of course
presumes that you believe multiple inheritance makes for readable code,
at least in *some* cases. Some would dispute that, but it's irrelevant
to my main point.)
- Bob
next prev parent reply other threads:[~2002-09-18 20:33 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-18 13:58 C++ to Ada translator? Ivan Paniagua
2002-09-18 19:12 ` Hyman Rosen
2002-09-18 20:14 ` Robert A Duff
2002-09-18 20:28 ` Hyman Rosen
2002-09-19 14:29 ` Wes Groleau
2002-09-19 23:28 ` Ira Baxter
2002-09-20 16:12 ` Wes Groleau
2002-09-21 15:54 ` Ira Baxter
2002-09-18 19:50 ` Ira Baxter
2002-09-18 20:18 ` Hyman Rosen
2002-09-18 20:33 ` Robert A Duff [this message]
2002-09-19 13:37 ` Hyman Rosen
2002-09-19 13:40 ` Ira Baxter
2002-09-19 14:38 ` Frank J. Lhota
2002-09-19 15:15 ` OT: Russian to English translator? Frank J. Lhota
2002-09-19 17:17 ` Wes Groleau
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox