From: "Randy Brukardt" <randy@rrsoftware.com>
Subject: Re: questions on Ada openGL binding in the GLOBE3D packages
Date: Thu, 2 Aug 2012 16:12:49 -0500
Date: 2012-08-02T16:12:49-05:00 [thread overview]
Message-ID: <jveqgm$1r8$1@munin.nbi.dk> (raw)
In-Reply-To: jvdlqa$ii5$1@speranza.aioe.org
"Nasser M. Abbasi" <nma@12000.org> wrote in message
news:jvdlqa$ii5$1@speranza.aioe.org...
...
> It does not matter really. It is the standard. It makes the code easier to
> understand if the same names are used in Ada and C and Fortran and in
> any other language. The same exact names.
Many of us write almost exclusively in Ada, and mixed case C names are a lot
harder to understand than properly formatted Ada names. You want our code to
be much harder to understand (by us and our colleagues) so that it is easier
to to read C code.
Sorry, as soon as an Ada programmer has to read C code in order to get their
work done, Ada has lost. That programmer would probably have been better off
writing the code in C in the first place. The effort of building a binding
is not just the binding (that's usually pretty easy), but also the effort of
creating/translating examples (and testing them), and preferably, creating
Ada-specific documentation as well.
Given that we are forced into a mixed-language world, there's little point
in trying to write C in Ada. Either write Ada in Ada or C in C -- and
interface *those* larger parts.
Randy.
next prev parent reply other threads:[~2012-08-07 6:44 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <jvddr3$uqm$1@speranza.aioe.org>
2012-08-02 8:50 ` questions on Ada openGL binding in the GLOBE3D packages Egil Høvik
2012-08-02 9:14 ` Nasser M. Abbasi
2012-08-02 10:19 ` Niklas Holsti
2012-08-02 10:46 ` Nasser M. Abbasi
2012-08-02 11:12 ` Egil Høvik
2012-08-02 11:56 ` Georg Bauhaus
2012-08-02 12:12 ` Vasiliy Molostov
2012-08-02 12:01 ` Vasiliy Molostov
2012-08-02 21:12 ` Randy Brukardt [this message]
2012-08-02 20:59 ` Randy Brukardt
2012-08-02 12:13 ` Brian Drummond
2012-08-02 15:01 ` Robert A Duff
2012-08-02 21:18 ` Randy Brukardt
2012-08-02 23:15 ` Robert A Duff
2012-08-02 15:31 ` Pascal Obry
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox