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,8893269a4640c798 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-07-22 16:47:01 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!nntp.cs.ubc.ca!freenix!enst.fr!beeblebrox!nobody From: Samuel Tardieu Newsgroups: comp.lang.ada Subject: Re: terminate applications Date: Wed, 23 Jul 2003 01:46:52 +0200 Organization: Avian Carrier & Friends Message-ID: <87oezm9lar.fsf@inf.enst.fr> References: <3F17DF3C.4080204@noplace.com> <3F196773.2060809@noplace.com> <3F19F86C.9050808@attbi.com> <3F1A772F.9060708@noplace.com> <3F1AD6FB.8080806@attbi.com> <3F1BD666.6040506@noplace.com> <3F1C4DA6.3070405@attbi.com> <3F1D29E8.60107@noplace.com> <3F1D2FDC.1070402@noplace.com> <3F1DC75A.5050300@noplace.com> NNTP-Posting-Host: willow.enst.fr Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: avanie.enst.fr 1058917620 23971 137.194.161.3 (22 Jul 2003 23:47:00 GMT) X-Complaints-To: usenet@enst.fr NNTP-Posting-Date: Tue, 22 Jul 2003 23:47:00 +0000 (UTC) User-Agent: Gnus/5.090007 (Oort Gnus v0.07) XEmacs/21.5 (cauliflower, i386--freebsd) Cancel-Lock: sha1:Yc7wMJEvhX83M5VsKLI5zfidvdg= X-Leafnode-NNTP-Posting-Host: 127.0.0.1 Xref: archiver1.google.com comp.lang.ada:40676 Date: 2003-07-23T01:46:52+02:00 List-Id: >>>>> "Marin" == Marin David Condic writes: Marin> Well, I'm not really trying to troll here - just make a point Marin> that if C has an answer to a problem and other languages have a Marin> similar answer to the problem, why shouldn't Ada? If the Marin> features in Ada won't do something useful that is done in other Marin> languages, then maybe we need to add a feature that *will* do Marin> it. I don't get your point: importing exit() from the standard C library is not more difficult than instantiating Ada.Unchecked_Dellocation to reclaim unused memory space. If the programmer really needs this feature badly, it only takes a few characters to use it. C, and many other languages, do have the ability of modifying a loop index within the loop. We do not have this in the Ada "for" loop", but we can "emulate" this with a varianle and a simple or a "while" loop. The situation is similar here. If you want to do it, you can, but there is no need to make it a language construct or a standard library. Sam -- Samuel Tardieu -- sam@rfc1149.net -- http://www.rfc1149.net/sam