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,FREEMAIL_FROM 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,UTF8 X-Received: by 10.180.212.113 with SMTP id nj17mr2142638wic.7.1367653287885; Sat, 04 May 2013 00:41:27 -0700 (PDT) Path: p18ni66158wiv.0!nntp.google.com!fu-berlin.de!news0.firedrake.org!news.etla.org!aioe.org!.POSTED!not-for-mail From: =?utf-8?Q?Yannick_Duch=C3=AAne_=28Hibou57?= =?utf-8?Q?=29?= Newsgroups: comp.lang.ada Subject: Re: Ada 2012: In-out parameters for functions Date: Sat, 04 May 2013 09:40:09 +0200 Organization: Ada @ Home Message-ID: References: <7704abab-86f2-4edc-ad4b-b3d4e70004fb@googlegroups.com> <7446fa12-42ce-4716-b0ef-e7eab9005fdb@googlegroups.com> NNTP-Posting-Host: x8M89WKpt0nL6NkHfUehcg.user.speranza.aioe.org Mime-Version: 1.0 X-Complaints-To: abuse@aioe.org User-Agent: Opera Mail/12.15 (Linux) X-Notice: Filtered by postfilter v. 0.8.2 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes Content-Transfer-Encoding: Quoted-Printable Date: 2013-05-04T09:40:09+02:00 List-Id: Le Sat, 04 May 2013 08:58:37 +0200, J-P. Rosen a =C3=A9= crit: > Le 04/05/2013 01:54, Randy Brukardt a =C3=A9crit : >> (And of course, nothing requires any user of Ada 2012 to use a "in ou= t" >> parameter to a function nor a conditional expression. Put it into you= r = >> 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 n= ew >> language version could dish out. > Checking "in out" in functions will be in the next release of > AdaControl, of course :-). Is it OK with Ada 2012? The last time I tried, I encountered multiple = issues with constructs like Pre/Post being not supported (was raising an= = error). I looked at ASIS source package on Debian repository, but it see= ms = to be dated of 2008 or 2010. > 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). Not in the same area, profile pragmas also help too. That's not about = style, but kind=E2=80=91of. -- = =E2=80=9CSyntactic sugar causes cancer of the semi-colons.=E2=80=9D [1] =E2=80=9CStructured Programming supports the law of the excluded muddle.= =E2=80=9D [1] [1]: Epigrams on Programming =E2=80=94 Alan J. =E2=80=94 P. Yale Univers= ity