From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,43d910f082521047 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.216.50.200 with SMTP id z50mr695342web.1.1344321891497; Mon, 06 Aug 2012 23:44:51 -0700 (PDT) MIME-Version: 1.0 Path: q11ni5774028wiw.1!nntp.google.com!volia.net!news2.volia.net!feed-A.news.volia.net!npeer.de.kpn-eurorings.net!npeer-ng0.de.kpn-eurorings.net!border2.nntp.ams2.giganews.com!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!border2.nntp.dca.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!ctu-peer!news.nctu.edu.tw!goblin1!goblin2!goblin.stu.neva.ru!newsfeed.x-privat.org!news.jacob-sparre.dk!munin.jacob-sparre.dk!pnx.dk!.POSTED!not-for-mail From: "Randy Brukardt" Newsgroups: comp.lang.ada Subject: Re: questions on Ada openGL binding in the GLOBE3D packages Date: Thu, 2 Aug 2012 16:12:49 -0500 Organization: Jacob Sparre Andersen Research & Innovation Message-ID: References: NNTP-Posting-Host: static-69-95-181-76.mad.choiceone.net X-Trace: munin.nbi.dk 1343941974 1896 69.95.181.76 (2 Aug 2012 21:12:54 GMT) X-Complaints-To: news@jacob-sparre.dk NNTP-Posting-Date: Thu, 2 Aug 2012 21:12:54 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5931 X-RFC2646: Format=Flowed; Response X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 Date: 2012-08-02T16:12:49-05:00 List-Id: "Nasser M. Abbasi" 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.