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 24151 invoked from network); 10 Mar 2023 13:09:39 -0000 Received: from minnie.tuhs.org (50.116.15.146) by inbox.vuxu.org with ESMTPUTF8; 10 Mar 2023 13:09:39 -0000 Received: from minnie.tuhs.org (localhost [IPv6:::1]) by minnie.tuhs.org (Postfix) with ESMTP id C283B4151A; Fri, 10 Mar 2023 23:09:33 +1000 (AEST) Received: from junk.nocrew.org (junk.nocrew.org [51.15.56.219]) by minnie.tuhs.org (Postfix) with ESMTPS id 0AA054142B for ; Fri, 10 Mar 2023 23:09:28 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=junk.nocrew.org) by junk.nocrew.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1pacUv-0004W2-N8; Fri, 10 Mar 2023 13:09:25 +0000 From: Lars Brinkhoff To: jnc@mercury.lcs.mit.edu (Noel Chiappa) Organization: nocrew References: <20230310121550.9A80718C080@mercury.lcs.mit.edu> Date: Fri, 10 Mar 2023 13:09:25 +0000 In-Reply-To: <20230310121550.9A80718C080@mercury.lcs.mit.edu> (Noel Chiappa's message of "Fri, 10 Mar 2023 07:15:50 -0500 (EST)") Message-ID: <7wwn3o21oa.fsf@junk.nocrew.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: lars@nocrew.org X-SA-Exim-Scanned: No (on junk.nocrew.org); SAEximRunCond expanded to false Message-ID-Hash: RZKQOJXHCPWPF7UREPJBNOJZ3VDKI5MF X-Message-ID-Hash: RZKQOJXHCPWPF7UREPJBNOJZ3VDKI5MF X-MailFrom: lars@nocrew.org 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: Conditions, AKA exceptions. List-Id: The Unix Heritage Society mailing list Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Noel Chiappa writes: > 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. Seems to me exceptions are quite mainstream: CLU, C++, Java, C#, JavaScript, Python all have them. Arguably Go too, in the form of panic/recover.