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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1108a1,9a0ff0bffdf63657 X-Google-Attributes: gid1108a1,public X-Google-Thread: f43e6,9a0ff0bffdf63657 X-Google-Attributes: gidf43e6,public X-Google-Thread: 103376,4b06f8f15f01a568 X-Google-Attributes: gid103376,public X-Google-Thread: fac41,9a0ff0bffdf63657 X-Google-Attributes: gidfac41,public From: "Rick Smith" Subject: Re: Why C++ is successful Date: 1998/08/17 Message-ID: #1/1 X-Deja-AN: 381945710 References: <6qfhri$gs7$1@nnrp1.dejanews.com> <35cb8058.645630787@news.ne.mediaone.net> <902934874.2099.0.nnrp-10.c246a717@news.demon.co.uk> <6r1e1a$mj$1@platane.wanadoo.fr> <6r1kt7$66g$1@hirame.wwa.com> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 X-Trace: news1.atlantic.net 903360981 207.30.140.110 (Mon, 17 Aug 1998 09:36:21 EDT) NNTP-Posting-Date: Mon, 17 Aug 1998 09:36:21 EDT Newsgroups: comp.lang.eiffel,comp.object,comp.software-eng,comp.lang.ada Date: 1998-08-17T00:00:00+00:00 List-Id: Robert Dewar wrote in message ... >Rick Smith said > >< > sort D ascending > >no flag, no goto, no exit, no loop, and no chance of using the wrong >comparison operator. It does have the overhead of a library call; but it is >always available. >>> > >Sure, but that has nothing at all to do with the point I was making. Once >again, the discussoin here is not about sorting algorithms, but about how >to represent a particular algorithm! > 1. You were making a point that the use of goto in Ada *may* be clearer that methods not using goto. 2. You stated that you "dislike the use of a flag that is tested on every loop." 3. You posted to several non-Ada groups; therefore opening the discussion to other languages. ;-) The COBOL example I gave is, IMO, much clearer than methods using goto or flags, in any other language. (comp.software-eng) Though not as clear as using an ordered collection, which avoids the (explicit inclusion of a) sort. (comp.object) I fail to see how your earlier statement (or my response!) is relevant to the subject of this thread! --------------------- Rick Smith e-mail: < ricksmith@aiservices.com >