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!.POSTED!not-for-mail From: "Alejandro R. Mosteo" Newsgroups: comp.lang.ada Subject: Type naming conventions: Any_Foo Date: Wed, 4 Dec 2019 14:56:21 +0100 Organization: A noiseless patient Spider Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Wed, 4 Dec 2019 13:56:22 -0000 (UTC) Injection-Info: reader02.eternal-september.org; posting-host="75bb087bbcb9b0471708f1333862198f"; logging-data="29188"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/B3DgUI6q85+VnMHVfD0+u" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.1 Cancel-Lock: sha1:VHLd34CLB/zcpjUwwNZ8FVLH0s4= Content-Language: en-US X-Mozilla-News-Host: news://news.eternal-september.org:119 Xref: reader01.eternal-september.org comp.lang.ada:57651 Date: 2019-12-04T14:56:21+01:00 List-Id: Hello, I've recently come across a new (to me) type naming convention and I'm curious about how extended it is. I was aware of the Foo.Object -- where Foo is a package and Object is the type name and Foos.Foo -- where Foos is a package and Foo is the type and Foos.Bars -- where both packages and types are in plural and Foo_Type -- where the enclosing package name is not used This variant is Any_Foo -- enclosing package also not used I've found only one example in the ARM in System.Any_Priority. I find I like better Any_Foo than Foo_Type, not sure why. I've had since I can remember an aversion for the _Type thing. Anyway, just curious. Any champions of the Any_Foo in the readership? Álex.