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: 103376,5a88548f1bcf3510 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,UTF8 Received: by 10.66.79.40 with SMTP id g8mr1524120pax.45.1353125776600; Fri, 16 Nov 2012 20:16:16 -0800 (PST) Path: 6ni90710pbd.1!nntp.google.com!news.glorb.com!feeder.erje.net!eu.feeder.erje.net!zen.net.uk!dedekind.zen.co.uk!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: Overring function and its returned type Date: Sat, 17 Nov 2012 05:16:14 +0100 Organization: Ada @ Home Message-ID: References: <97a6946f-a707-4dd3-872b-9e851fcf9462@googlegroups.com> <62ba75d8-8a6c-4d75-be37-3322f683714d@googlegroups.com> <8998c0eb-c9b1-4501-9163-94172aa4aea0@googlegroups.com> NNTP-Posting-Host: aWaWeUaBdaj2Zzc04J1v5A.user.speranza.aioe.org Mime-Version: 1.0 X-Complaints-To: abuse@aioe.org User-Agent: Opera Mail/12.10 (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: 2012-11-17T05:16:14+01:00 List-Id: Le Fri, 16 Nov 2012 16:27:37 +0100, Maciej Sobczak = a =C3=A9crit: > An interesting property of Ada, and what makes this issue more difficu= lt = > than in C++ is that Ada supports out parameters, which from the langua= ge = > design point of view should work like return values. But it is not the same as a returned value. It may be like a return, it = = may be like an update, all depends on what the sub=E2=80=91program do. M= ay be a = `return` mode is an idea=E2=80=A6 -- = =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