comp.lang.ada
 help / color / mirror / Atom feed
From: dewar@gnat.com (Robert Dewar)
Subject: Re: Passing an Ada array to a C function
Date: 20 Sep 2001 05:07:30 -0700
Date: 2001-09-20T12:07:30+00:00	[thread overview]
Message-ID: <5ee5b646.0109200407.467f5d51@posting.google.com> (raw)
In-Reply-To: mailman.1000953137.8671.comp.lang.ada@ada.eu.org

"David Botton" <David@Botton.com> wrote in message news:<mailman.1000953137.8671.comp.lang.ada@ada.eu.org>...
> Depends on the age of your compiler. C and C++ were designed by committee
> (to "have fun") unlike Ada so things are very rarely concrete.
> 
> > void My_C_Func (char* s);
>  
> > void My_C_Func (const char *s);
> 
> 
> David Botton


I don't think it is fair to claim that C and C++ were
designed by committee any more than Ada was.

In all three cases, the basic language design was the work
of a single coherent design team (in the Ada case, this was
more of a team, in the C++ case, more of an individual).

The preliminary design was then debated and (significantly)
modified by a committee (Ada 95 would not have looked the
same if the design team had been able to follow only its
own preference :-)

Let's not make the mistake of bashing C and C++ where 
the bashing is not fair :-)



      reply	other threads:[~2001-09-20 12:07 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-11  1:21 Passing an Ada array to a C function Lin
2001-09-11  2:32 ` David Botton
2001-09-18 13:37   ` Thierry Bernier
     [not found]   ` <3BA74E07.60E105C2@fr.thalesgroup.com>
2001-09-20  2:31     ` David Botton
2001-09-20 12:07       ` Robert Dewar [this message]
replies disabled

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