comp.lang.ada
 help / color / mirror / Atom feed
From: "Vasiliy Molostov" <molostoff@gmail.com>
Subject: Re: questions on Ada openGL binding in the GLOBE3D packages
Date: Thu, 02 Aug 2012 16:01:23 +0400
Date: 2012-08-02T16:01:23+04:00	[thread overview]
Message-ID: <op.wiew0l2hka8ora@aspire.local> (raw)
In-Reply-To: 492254f2-fb07-4949-9348-3b79694608ce@googlegroups.com

Egil Høvik <egilhovik@hotmail.com> писал(а) в своём письме Thu, 02 Aug  
2012 15:12:51 +0400:

>> 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?

It seems that you probably right - there is a good reason to keep things
convenient to Ada related environment. Perhaps, interface of some sort of  
C that lie on C naming
is indeed a mangled names used to import, and is not going to be human  
convenient.

BTW, initially GL library from MS had no gl prefix.

Do we need operate mangled names in a high level language?

Which standard we should apply here?


-- 
Написано в почтовом клиенте браузера Opera: http://www.opera.com/mail/



  parent reply	other threads:[~2012-08-06 17:13 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 [this message]
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