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 24918 invoked from network); 10 Mar 2023 13:15:24 -0000 Received: from minnie.tuhs.org (2600:3c01:e000:146::1) by inbox.vuxu.org with ESMTPUTF8; 10 Mar 2023 13:15:24 -0000 Received: from minnie.tuhs.org (localhost [IPv6:::1]) by minnie.tuhs.org (Postfix) with ESMTP id 9AB1D41525; Fri, 10 Mar 2023 23:15:20 +1000 (AEST) Received: from relay05.pair.com (relay05.pair.com [216.92.24.67]) by minnie.tuhs.org (Postfix) with ESMTPS id 5208A4142B for ; Fri, 10 Mar 2023 23:15:14 +1000 (AEST) Received: from orac.inputplus.co.uk (unknown [84.51.130.45]) by relay05.pair.com (Postfix) with ESMTP id 8393F1A191F for ; Fri, 10 Mar 2023 08:15:13 -0500 (EST) Received: from orac.inputplus.co.uk (orac.inputplus.co.uk [IPv6:::1]) by orac.inputplus.co.uk (Postfix) with ESMTP id 891A8212A8 for ; Fri, 10 Mar 2023 13:15:12 +0000 (GMT) From: Ralph Corderoy To: tuhs@tuhs.org x-label: coff mail-followup-to: coff@tuhs.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit In-reply-to: <20230310121550.9A80718C080@mercury.lcs.mit.edu> References: <20230310121550.9A80718C080@mercury.lcs.mit.edu> Date: Fri, 10 Mar 2023 13:15:12 +0000 Message-Id: <20230310131512.891A8212A8@orac.inputplus.co.uk> Message-ID-Hash: 3ZPLSIJDJKWPN2K75UO7SNNGHXMEKBVZ X-Message-ID-Hash: 3ZPLSIJDJKWPN2K75UO7SNNGHXMEKBVZ X-MailFrom: ralph@inputplus.co.uk 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 X-Mailman-Version: 3.3.6b1 Precedence: list Reply-To: coff@tuhs.org Subject: [TUHS] Re: Conditions, AKA exceptions. (Was: 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: Hi Noel, > > if you say above that most people are unfamiliar with them due to > > their use of goto then that's probably wrong > > I didn't say that. Thanks for clarifying; I did know it was a possibility. > I was just astonished that in a long thread about handling exceptional > conditions, nobody had mentioned . . . exceptions. Clearly, either > unfamiliarity (perhaps because not many laguages provide them - as you > point out, Go does not), or not top of mind. Or perhaps those happy to use gotos also tend to be those who dislike exceptions. :-) Anyway, I'm off-TUHS-pic so follow-ups set to goto COFF. -- Cheers, Ralph.