From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=MAILING_LIST_MULTI autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 24354 invoked from network); 10 Mar 2023 17:50:18 -0000 Received: from minnie.tuhs.org (2600:3c01:e000:146::1) by inbox.vuxu.org with ESMTPUTF8; 10 Mar 2023 17:50:18 -0000 Received: from minnie.tuhs.org (localhost [IPv6:::1]) by minnie.tuhs.org (Postfix) with ESMTP id CFE8B41226; Sat, 11 Mar 2023 03:50:13 +1000 (AEST) Received: from sdaoden.eu (sdaoden.eu [217.144.132.164]) by minnie.tuhs.org (Postfix) with ESMTPS id 77C8C40A7F for ; Sat, 11 Mar 2023 03:50:09 +1000 (AEST) Date: Fri, 10 Mar 2023 18:50:06 +0100 Author: Steffen Nurpmeso From: Steffen Nurpmeso To: Phil Budne Message-ID: <20230310175006.f6IMv%steffen@sdaoden.eu> In-Reply-To: <202303101630.32AGU2OD008070@ultimate.com> References: <20230310115145.7F23118C080@mercury.lcs.mit.edu> <202303101630.32AGU2OD008070@ultimate.com> Mail-Followup-To: Phil Budne , tuhs@tuhs.org User-Agent: s-nail v14.9.24-432-g67dd7ec606 OpenPGP: id=EE19E1C1F2F7054F8D3954D8308964B51883A0DD; url=https://ftp.sdaoden.eu/steffen.asc; preference=signencrypt BlahBlahBlah: Any stupid boy can crush a beetle. But all the professors in the world can make no bugs. Message-ID-Hash: ZFAGVORINHRGAFOPSH5ZGYYWWXWAGSEH X-Message-ID-Hash: ZFAGVORINHRGAFOPSH5ZGYYWWXWAGSEH X-MailFrom: steffen@sdaoden.eu X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: tuhs@tuhs.org X-Mailman-Version: 3.3.6b1 Precedence: list Subject: [TUHS] Re: I can't drive 55: "GOTO considered harmful" 55th anniversary List-Id: The Unix Heritage Society mailing list Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Phil Budne wrote in <202303101630.32AGU2OD008070@ultimate.com>: |ron@ronnatalie.com wrote: |> Multilevel breaks are as bad as goto with regard to structure violation. | |Back when I was in compilers (so long ago, that it was the DEC PDP-10 |FORTRAN compiler(*)) my recall is that break/continue never generated |irreducible flow graphs, as goto can: | |https://en.wikipedia.org/wiki/Control-flow_graph#Reducibility | |I still remember the days when you could find C code written by PASCAL |programmers,[.] |littered[.] I love this. |with condition variables on loops, and if |statements to not execute the tail of the loop body if the loop |condition was false. | |(*) The FORTRAN compiler was written in BLISS-10, which had labeled |statements, and a "leave