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=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,3867e2f73fa21ec X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII X-Received: by 10.224.59.205 with SMTP id m13mr21758354qah.7.1367650716387; Fri, 03 May 2013 23:58:36 -0700 (PDT) Path: y6ni6761qax.0!nntp.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!goblin1!goblin.stu.neva.ru!eternal-september.org!feeder.eternal-september.org!mx05.eternal-september.org!.POSTED!not-for-mail From: "J-P. Rosen" Newsgroups: comp.lang.ada Subject: Re: Ada 2012: In-out parameters for functions Date: Sat, 04 May 2013 08:58:37 +0200 Organization: A noiseless patient Spider Message-ID: References: <7704abab-86f2-4edc-ad4b-b3d4e70004fb@googlegroups.com> <7446fa12-42ce-4716-b0ef-e7eab9005fdb@googlegroups.com> Mime-Version: 1.0 Injection-Date: Sat, 4 May 2013 06:55:08 +0000 (UTC) Injection-Info: mx05.eternal-september.org; posting-host="2b3884a634d8f846e0712b4e3a92507a"; logging-data="1804"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/dgwaMCdy+Ys3jlxcvorDp" User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130328 Thunderbird/17.0.5 In-Reply-To: Cancel-Lock: sha1:X61bO3WtYW/WXdVEtuAkf43Jc1g= X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Date: 2013-05-04T08:58:37+02:00 List-Id: Le 04/05/2013 01:54, Randy Brukardt a �crit : > (And of course, nothing requires any user of Ada 2012 to use a "in out" > parameter to a function nor a conditional expression. Put it into your style > guide to avoid them if you like - and if you don't have an enforced style > guide, you've got much larger [management] problems than anything a new > language version could dish out. Checking "in out" in functions will be in the next release of AdaControl, of course :-). And I fully agree that you need an *enforced* style guide. You can't imagine how many violations are left by manual reviews (as I often say: my clients hate me - when I run AdaControl on their carefully manually reviewed code). -- J-P. Rosen Adalog 2 rue du Docteur Lombard, 92441 Issy-les-Moulineaux CEDEX Tel: +33 1 45 29 21 52, Fax: +33 1 45 29 25 00 http://www.adalog.fr