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,d4984245154c8ef1 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news4.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!panix!bloom-beacon.mit.edu!newsswitch.lcs.mit.edu!nntp.TheWorld.com!not-for-mail From: Robert A Duff Newsgroups: comp.lang.ada Subject: Re: Interfacing C type, unconstrained array with record Date: Sun, 17 Oct 2010 08:34:29 -0400 Organization: The World Public Access UNIX, Brookline, MA Message-ID: References: NNTP-Posting-Host: shell01.theworld.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: pcls6.std.com 1287318845 28552 192.74.137.71 (17 Oct 2010 12:34:05 GMT) X-Complaints-To: abuse@TheWorld.com NNTP-Posting-Date: Sun, 17 Oct 2010 12:34:05 +0000 (UTC) User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (irix) Cancel-Lock: sha1:neGKhvXBAovs0PJMPJ+bRYyY/QY= Xref: g2news2.google.com comp.lang.ada:15556 Date: 2010-10-17T08:34:29-04:00 List-Id: "J-P. Rosen" writes: > Nitpicking: nothing prevents you from writing C.int even in the presence > of a use clause for Interfaces.C. True, but I rarely take advantage of that, and I prefer to say X.Y or Y consistently, not both in the same package. I fixed a bug in GNAT a few days ago, where I ran across code that mixed X.Y and Y, because somebody thought X.Y was more readable, but somebody else just refered to Y because Y happened to be directly visible. No big deal, but the code looked odd to me. > ...Although I am quite liberal in using > use clauses, I do that quite often when I feel it is more readable. - Bob