comp.lang.ada
 help / color / mirror / Atom feed
From: "Egil Høvik" <egilhovik@hotmail.com>
Subject: Re: questions on Ada openGL binding in the GLOBE3D packages
Date: Thu, 2 Aug 2012 04:12:51 -0700 (PDT)
Date: 2012-08-02T04:12:51-07:00	[thread overview]
Message-ID: <492254f2-fb07-4949-9348-3b79694608ce@googlegroups.com> (raw)
In-Reply-To: <jvdlqa$ii5$1@speranza.aioe.org>

> Why not keep things standard? The standard is there. 

You seem to be confused. What you call "the standard" is
just the C binding. The standard explicitly states that
example syntax is in C, and that other languages with better
namespace handling and subprogram overloading can do things
differently.
Writing GL.Vertex is more readable than GL.glVertex2d.
Let the compiler figure out the types of your parameters, 
and how many, you specify. It will complain if it can't find 
a match.

Some people complain about Ada being too verbose; In this case,
I would say C is more verbose, why should that be a bad thing 
for Ada?


-- 
~egilhh




  reply	other threads:[~2012-08-02 11:12 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 [this message]
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