From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,30352abc52760363 X-Google-Attributes: gid103376,public From: Brian Rogoff Subject: Re: Ada to C++ Translators Date: 1998/02/18 Message-ID: #1/1 X-Deja-AN: 326345808 References: <34E47622.15EB@atc-1s.hac.com> <1998Feb13.213046.1@eisner> <6c9tjc$obg@universe.digex.net> <34eb5d36.20077308@news.tiac.net> <6ceq7m$3nc@universe.digex.net> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: 887835777 13239 bpr 206.184.139.132 Newsgroups: comp.lang.ada Date: 1998-02-18T00:00:00+00:00 List-Id: On 18 Feb 1998, David Weller wrote: > Jean D. Ichbiah wrote: > > > >[Deletia related to somebody asking for an Ada to C++ Translator] > > > >> Let's save Mr. Kusuda a bag of time: > >> ... snip ... > >> 5) It's a pretty dumb thing to do anyway > >> (It takes less code to do a project in Ada95 than in C++) > > > > >5) is an academic assertion. > > > > Wrong. It's an unpublished _fact_. Big difference. My work with the > C++ Booch Components (_hand_ translating them into Ada95) yielded > around a 10% _reduction_ in overall code. It would be fair to qualify > where that reduction came from: The template syntax in C++, IMHO, > stands as one of computer science's most outstanding examples of > abominal syntax. Hey, aren't you the guy that likes Perl? ;-) I'd be interested in hearing how a well designed Ada program that makes use of constrained genericity gets translated to a well designed C++ program. I haven't been following the C++ standard for a while, but I thought that there was no constrained genericity in C++, and that the work-arounds would not really be considered "well-designed". > those generics. I'm personally starting to pine for something that > combines what I feel are the best features of Ada and C++, and it > AIN'T called Java! Out of curiosity, which are the features of C++ that you would like that Ada doesn't have? -- Brian