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: fac41,9a0ff0bffdf63657 X-Google-Attributes: gidfac41,public 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 From: dewarr@my-dejanews.com Subject: Re: Software landmines (loops) Date: 1998/09/07 Message-ID: <6t1b1t$lac$1@nnrp1.dejanews.com>#1/1 X-Deja-AN: 388769836 References: <6rf59b$2ud$1@nnrp1.dejanews.com> <905134925.147581@iris.nyx.net> <35f34bbd.7903825@news.erols.com> X-Http-Proxy: 1.0 x9.dejanews.com:80 (Squid/1.1.22) for client 209.73.133.253 Organization: Deja News - The Leader in Internet Discussion X-Article-Creation-Date: Mon Sep 07 19:09:49 1998 GMT Newsgroups: comp.lang.eiffel,comp.object,comp.software-eng,comp.lang.ada X-Http-User-Agent: Mozilla/2.02 (OS/2; I) Date: 1998-09-07T00:00:00+00:00 List-Id: In article , doylep@ecf.toronto.edu (Patrick Doyle) wrote: > In article <35f34bbd.7903825@news.erols.com>, Ell wrote: > >rgardner@nyx.net (Ray Gardner) wrote: > > > >>.... Of course my main point was > >>that the founder(s) of SP did limit the control structures to > >>single-entry / single-exit structures, and that still stands. > > > >And your proof is what? > > Can you prove they recommended using other structures? > > -PD > Well it is not clear who you think "they" are (the "founders" of structured programming). Certainly Wirth is happy to use a goto in Pascal where it makes sense (see the code for example for heap sort in his algorithms book). Similarly Knuth has pointed out the value of midloop exits in some cases ... Actually I think the real point here is that the "founders" tend to be a lot less dogmatic than their followers :-) > -- > -- > Patrick Doyle > doylep@ecf.toronto.edu > -----== Posted via Deja News, The Leader in Internet Discussion ==----- http://www.dejanews.com/rg_mkgrp.xp Create Your Own Free Member Forum