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,1116ece181be1aea X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-09-24 01:22:51 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!headwall.stanford.edu!fu-berlin.de!uni-berlin.de!tar-alcarin.cbb-automation.DE!not-for-mail From: Dmitry A. Kazakov Newsgroups: comp.lang.ada Subject: Re: Is the Writing on the Wall for Ada? Date: Wed, 24 Sep 2003 10:28:32 +0200 Message-ID: <8uk2nvsevp22p30ohsaqffou42fi4guc9l@4ax.com> References: <568ede3c.0309160929.1d0d3d95@posting.google.com> <3F67AFB9.7040001@attbi.com> <3F6F0841.60607@attbi.com> <1064244399.683441@master.nyc.kbcfp.com> <3F70021A.2010305@attbi.com> <1064320198.65725@master.nyc.kbcfp.com> NNTP-Posting-Host: tar-alcarin.cbb-automation.de (212.79.194.111) Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: news.uni-berlin.de 1064391607 5326627 212.79.194.111 (16 [77047]) X-Newsreader: Forte Agent 1.8/32.548 Xref: archiver1.google.com comp.lang.ada:42844 Date: 2003-09-24T10:28:32+02:00 List-Id: On Wed, 24 Sep 2003 03:52:43 GMT, Matthew Heaney wrote: >Functions in Ada are basically value-returning subprograms that can >modify state just like procedures, but aren't allowed to say that they >modify state. This is one thing Ada got wrong and C++ got right. >Ideology should never trump reality. Right, but also to have pure functions would be useful (pragma Pure for functions). Better if it were the default for any subroutine declared as "function". And also to allow return values for subroutines declared as "procedure". --- Regards, Dmitry Kazakov www.dmitry-kazakov.de