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: "Jeffrey R. Carter" Newsgroups: comp.lang.ada Subject: Re: Type naming conventions: Any_Foo Date: Fri, 6 Dec 2019 21:23:45 +0100 Organization: Also freenews.netfront.net; news.tornevall.net; news.eternal-september.org Message-ID: References: <2714fecf-ad37-4922-8cab-2054b5592c22@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Fri, 6 Dec 2019 20:23:45 -0000 (UTC) Injection-Info: reader02.eternal-september.org; posting-host="255dba8a204173ca31bbda2f999c53ca"; logging-data="9342"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/Ydl56n9tTd40NghsT2McyDBWpRAyDo78=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.1 Cancel-Lock: sha1:SgVqFLEP0ImKt8dYMOhyihS6VhQ= In-Reply-To: <2714fecf-ad37-4922-8cab-2054b5592c22@googlegroups.com> Content-Language: en-US Xref: reader01.eternal-september.org comp.lang.ada:57673 Date: 2019-12-06T21:23:45+01:00 List-Id: On 12/6/19 12:44 PM, Lucretia wrote: > > type All_Weapons is (Broadsword, Catapult, Bow_and_Arrow); It has been demonstrated that the first few characters of an identifier are the most important in distinguishing them; having lots of identifiers with the same first few characters makes the code harder to read. So common prefixes are even worse that suffixes. -- Jeff Carter "Brave Sir Robin ran away." Monty Python and the Holy Grail 59