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 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!paganini.bofh.team!weretis.net!feeder4.news.weretis.net!gandalf.srv.welterde.de!news.jacob-sparre.dk!franka.jacob-sparre.dk!pnx.dk!.POSTED.rrsoftware.com!not-for-mail From: "Randy Brukardt" Newsgroups: comp.lang.ada Subject: Re: Idiomatic formatting for empty package Date: Fri, 6 Oct 2017 20:55:35 -0500 Organization: JSA Research & Innovation Message-ID: References: <1507181278.2449.14.camel@obry.net> <4b8654b4-e479-4b37-b9ec-dba2a03c7276@googlegroups.com> <7eac50d1-33d2-4872-9a3f-a438394b654f@googlegroups.com> Injection-Date: Sat, 7 Oct 2017 01:55:36 -0000 (UTC) Injection-Info: franka.jacob-sparre.dk; posting-host="rrsoftware.com:24.196.82.226"; logging-data="31981"; mail-complaints-to="news@jacob-sparre.dk" X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5931 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.7246 Xref: news.eternal-september.org comp.lang.ada:48379 Date: 2017-10-06T20:55:35-05:00 List-Id: marciant@earthlink.net> wrote in message news:7eac50d1-33d2-4872-9a3f-a438394b654f@googlegroups.com... On Thursday, October 5, 2017 at 7:37:54 PM UTC-4, Randy Brukardt wrote: > > Or: > > > > package X with Pure is end; > > FYI, John Barnes hates this form. Best to put the end on a line by itself. >If it is being used as the "root" of a hierarchy that has both visible and >private >children - possibly the answer to you question in a different post - then >it >probably is the only code in a file that just has comments/documentation. >If >so, it seems useless to me to have to have a line break and repeat the name >in that case. I prefer consistency to special-case rules. Ergo, I *always* repeat the name if the language allows that. (I probably wouldn't use the task shorthand, either.) YMMV. In any case, I just read a new rant from John about "is end" at the end of empty packages. You best not have him as one of your code reviewers. ;-) Randy. Randy.