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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,f3437064e1091fec X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-07-15 10:31:46 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!sn-xit-03!sn-xit-04!sn-xit-06!sn-post-01!supernews.com!corp.supernews.com!not-for-mail From: "Randy Brukardt" Newsgroups: comp.lang.ada Subject: Re: What evil would happen? Date: Tue, 15 Jul 2003 12:33:12 -0500 Organization: Posted via Supernews, http://www.supernews.com Message-ID: References: <5ad0dd8a.0307111151.4a08f95a@posting.google.com> <5ad0dd8a.0307150019.5370f3a3@posting.google.com> X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 X-Complaints-To: abuse@supernews.com Xref: archiver1.google.com comp.lang.ada:40297 Date: 2003-07-15T12:33:12-05:00 List-Id: "Wojtek Narczynski" wrote in message news:5ad0dd8a.0307150019.5370f3a3@posting.google.com... > Randy, > > > P.S. Do we have to discuss this AGAIN? > > Sorry, my knowledge of what has been discussed, when, and how many > times, is fairly limited. > > But AI-323 only discusses functions. It doesn't discuss return > statement for procedures. I've never heard of any real support for that. Functions in Ada have side-effects and that is not going to change (else virtually all existing Ada code would cease to work). There is no point in having value-returning procedures which are identical to functions with side-effects -- that's just an extra complication. In any case, this is a political issue, not a technical one, and it is very unlikely that a consensus for any change will ever occur. Of course that's stupid, but politics is generally stupid (look at the majority of our elected officials). I've toyed with adding a mode to Janus/Ada to allow in out parameters on functions, but I haven't seen a compelling use for it (the most valuable uses would be in Claw, but that has to work with standard Ada). Randy.