comp.lang.ada
 help / color / mirror / Atom feed
From: Cesar Rabak <csrabak@yahoo.com.br>
Subject: Re: AW: Translating an embedded C algorithm
Date: Fri, 19 Jan 2007 21:15:11 -0200
Date: 2007-01-19T21:15:11-02:00	[thread overview]
Message-ID: <eorj9k$299$1@aioe.org> (raw)
In-Reply-To: 

Robert A Duff escreveu:
> Cesar Rabak <csrabak@yahoo.com.br> writes:
> 
>> Stephen Leake escreveu:
>>> Ludovic Brenta <ludovic@ludovic-brenta.org> writes:
>> [snipped]
>>> This example program is far too small to show the crucial differences
>>> between C and Ada.
>>>
>> I think you summarized very well the whole issue here!
> 
> But the OP didn't ask anybody to "show the crucial differences between C
> and Ada"; he asked for a simple half-page C function to be translated
> into Ada, which is a perfectly reasonable request. 

Yes.

> I started to do it
> myself, but others have answered that question, so he got more-or-less
> what he asked for. 

OK. I believe he got a handful set of examples.

> He also got "we can't translate simple C into simple
> Ada -- we need to create a hugely complicated mess", and he also got
> "you dope, how dare you ask about Ada when you don't already know Ada".

While I have to agree that hearing from the aisles our internal 
discussion could be described like that, I think we have to think about 
the other side.

A direct translation of a that half page (C language) function, would 
convey very little about Ada, and perhaps lead to a conclusion that is 
just a C (or rather Pascal) like language with a "weird syntax" (pundits 
could step and say all other things we're used, as being verbose, etc.).

So a reasonable (I agree that with less ado) remark that Ada language to 
be used in its full potential would include more code (like was shown in 
the thread already) and a clear and better explanation of the advantages 
of it would have been better advertising of Ada.


> Sigh.

Relieved? :-)




  reply	other threads:[~2007-01-19 23:15 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <E473CA319B6D514981A06AE6742A1FD82B067D@GLDMS10607.goldlnk.rootlnka.net>
2007-01-17  7:07 ` AW: Translating an embedded C algorithm Grein, Christoph (Fa. ESG)
2007-01-17 10:26   ` Ludovic Brenta
2007-01-17 16:44     ` Markus E Leypold
2007-01-18  8:49       ` Ludovic Brenta
2007-01-18  9:53         ` Markus E Leypold
2007-01-19  9:33         ` Stephen Leake
2007-01-19 19:23           ` Cesar Rabak
2007-01-19 20:27             ` Robert A Duff
2007-01-19 23:15               ` Cesar Rabak [this message]
2007-01-20  9:54               ` Dmitry A. Kazakov
2007-01-20 21:03               ` AW: " Jeffrey Carter
2007-01-20 21:38                 ` Robert A Duff
2007-01-22  2:30                   ` Jeffrey Carter
2007-01-23  7:43                     ` Stephen Leake
2007-01-23 19:34                       ` Jeffrey R. Carter
     [not found]     ` <1%trh.15628$X72.889@newsread3.news.pas.earthlink.net>
2007-01-17 18:44       ` Niklas Holsti
replies disabled

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