From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=0.8 required=3.0 tests=BAYES_50,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.6 X-Received: by 2002:a05:6214:238a:: with SMTP id fw10mr13879722qvb.30.1634340600907; Fri, 15 Oct 2021 16:30:00 -0700 (PDT) X-Received: by 2002:a25:1dd7:: with SMTP id d206mr16130160ybd.486.1634340600744; Fri, 15 Oct 2021 16:30:00 -0700 (PDT) Path: eternal-september.org!reader02.eternal-september.org!feeder1.feed.usenet.farm!feed.usenet.farm!tr2.eu1.usenetexpress.com!feeder.usenetexpress.com!tr3.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Fri, 15 Oct 2021 16:30:00 -0700 (PDT) In-Reply-To: Injection-Info: google-groups.googlegroups.com; posting-host=219.90.191.17; posting-account=d51RWwoAAADvR-x0zYAtT9z3CRxT1eXo NNTP-Posting-Host: 219.90.191.17 References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <68078608-c293-49e9-99a5-b03d7c99f740n@googlegroups.com> Subject: Re: Code flow control From: Roger Mc Injection-Date: Fri, 15 Oct 2021 23:30:00 +0000 Content-Type: text/plain; charset="UTF-8" Xref: reader02.eternal-september.org comp.lang.ada:63018 List-Id: On Saturday, October 16, 2021 at 2:08:44 AM UTC+11, kevc...@gmail.com wrote: > I have read that exceptions should not be used for code flow. I strongly agree that exceptions should not be used for code flow. However, I do use them in some file handling situations. I wondered about using assertions, but then thought probably not relevant. Using them for code flow seems tantamount to using go-tos. Roger