comp.lang.ada
 help / color / mirror / Atom feed
From: "Nasser M. Abbasi" <nma@12000.org>
Subject: Re: questions on Ada openGL binding in the GLOBE3D packages
Date: Thu, 02 Aug 2012 05:46:35 -0500
Date: 2012-08-02T05:46:35-05:00	[thread overview]
Message-ID: <jvdlqa$ii5$1@speranza.aioe.org> (raw)
In-Reply-To: a7v2ieFpstU1@mid.individual.net

On 8/2/2012 5:19 AM, Niklas Holsti wrote:
>
>
> Subjective opinion and matter of taste.
>

That is the exact reason why a thin binding should have the same
exact naming as the language being mapped to. So that nevery
one makes up a name they like on the Ada side.

> FWIW, I prefer the Ada-style names.

You prefer one style, I prefer another style, a third person prefers
another style.

So we end up with 10 different Ada programs, written by 10 different
programmers, all using the same OPEN GL.

Why not keep things standard? The standard is there. No reason to change
the names just becuase you do not like this name and I do not like that
name.

When one looks at C code, all the calls are the same everywhere.

>
> The C-style names are needlessly long and tedious.

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.

Any way, that is what I think. We agree to disagree I guess.

I'll use the 2002 openGL binding to learn a little bit of Ada openGL
from, since it matches the C API. So, I am all set now :)

regards,
--Nasser



  reply	other threads:[~2012-08-07  6:24 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 [this message]
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
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