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=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.13.214.213 with SMTP id y204mr6549246ywd.40.1463856274525; Sat, 21 May 2016 11:44:34 -0700 (PDT) X-Received: by 10.157.13.37 with SMTP id 34mr86123oti.4.1463856274441; Sat, 21 May 2016 11:44:34 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!feeder.eternal-september.org!xmission!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!peer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!88no5523046qga.1!news-out.google.com!l67ni1266ith.0!nntp.google.com!sq19no6870629igc.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sat, 21 May 2016 11:44:34 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=83.34.249.176; posting-account=Zsf4jwoAAADEqwCydv835KU9-S3h_Y26 NNTP-Posting-Host: 83.34.249.176 References: <6784b2fe-96cf-46cb-b3a6-00a0e2f2bf16@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <906d946c-b8a4-484b-864f-06ff2dfd8abc@googlegroups.com> Subject: Re: ANN: Introducing AdaBase - Thick database bindings for Ada From: jrmarino Injection-Date: Sat, 21 May 2016 18:44:34 +0000 Content-Type: text/plain; charset=UTF-8 X-Received-Bytes: 1844 X-Received-Body-CRC: 3652469330 Xref: news.eternal-september.org comp.lang.ada:30453 Date: 2016-05-21T11:44:34-07:00 List-Id: On Saturday, May 21, 2016 at 8:20:27 PM UTC+2, Jeffrey R. Carter wrote: > compiles fine. It seems the only reason for the prefixes on the enumeration > literals was a desire to avoid the extra typing required to prefix the literals > with the pkg name. well, no, I almost never utilize the "USE" keyword so everything is prefixed; I wouldn't try to avoid that. IIRC, the field_types enumeration was once in the same child package and I probably moved it to the root one. And then I never tried prefixing with "AdaBase." Now, even if that's the solution, I'm not sure having a type and an enumeration being identical is a good idea.