From: Roger Mc <rogermcm2@gmail.com>
Subject: Re: Code flow control
Date: Fri, 15 Oct 2021 16:30:00 -0700 (PDT) [thread overview]
Message-ID: <68078608-c293-49e9-99a5-b03d7c99f740n@googlegroups.com> (raw)
In-Reply-To: <c2f132ab-dca4-4400-a913-12616c0d8489n@googlegroups.com>
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
prev parent reply other threads:[~2021-10-15 23:30 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-15 15:08 Code flow control Kevin Chadwick
2021-10-15 17:48 ` J-P. Rosen
2021-10-15 18:03 ` Dmitry A. Kazakov
2021-10-15 19:19 ` Kevin Chadwick
2021-10-15 20:02 ` G.B.
2021-10-15 21:30 ` Kevin Chadwick
2021-10-15 22:51 ` Randy Brukardt
2021-10-16 7:50 ` Dmitry A. Kazakov
2021-10-16 13:26 ` Kevin Chadwick
2021-11-26 13:44 ` Kevin Chadwick
2021-10-15 17:53 ` Jeffrey R. Carter
2021-10-15 23:30 ` Roger Mc [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox