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!mx02.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: What do you think about this? Date: Sat, 27 Jun 2015 19:54:25 +0100 Organization: A noiseless patient Spider Message-ID: References: <9894cde7-2cf8-4060-be65-857812ad7b09@googlegroups.com> <17436268-aceb-461f-bdcf-eee8436cd0e6@googlegroups.com> <86y4jaqzdx.fsf@stephe-leake.org> <86oak5qulb.fsf@stephe-leake.org> <78882aed-4063-409b-a92e-6025c3097a52@googlegroups.com> <6d3e7a4c-e691-4005-ad47-2507ed13031f@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx02.eternal-september.org; posting-host="c762050aff3a30866fa7e79999b14776"; logging-data="32608"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/ldJOts9VE124i/omQ7Oz2Wv7fzHm2uRo=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (darwin) Cancel-Lock: sha1:nhO4de5RqsXghFjtX77ZdIpWgRU= sha1:1OnPx/IfYzyit5TN9ttrlhUxTZA= Xref: news.eternal-september.org comp.lang.ada:26498 Date: 2015-06-27T19:54:25+01:00 List-Id: Laurent writes: > It sucks that renaming function Make_Antibiotique... to function > Antibiotique ... doesn't work because I get conflicts between the Type > Antibiotique and the function. So what is the recommendation for > naming in this case. > > package Antibiotiques... > > type Antibiotique is private; > > function Make_Antibiotique... return Antibiotique; > > end Antibiotiques; I'd just call it Make. The package name disambiguates.