Groups | Search | Server Info | Login | Register


Groups > comp.lang.ada > #49798

Re: Code flow control

Newsgroups comp.lang.ada
Date 2021-10-15 16:30 -0700
References <c2f132ab-dca4-4400-a913-12616c0d8489n@googlegroups.com>
Message-ID <68078608-c293-49e9-99a5-b03d7c99f740n@googlegroups.com> (permalink)
Subject Re: Code flow control
From Roger Mc <rogermcm2@gmail.com>

Show all headers | View raw


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

Back to comp.lang.ada | Previous | NextPrevious in thread | Find similar


Thread

Code flow control Kevin Chadwick <kevc3no4@gmail.com> - 2021-10-15 08:08 -0700
  Re: Code flow control "J-P. Rosen" <rosen@adalog.fr> - 2021-10-15 19:48 +0200
    Re: Code flow control "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de> - 2021-10-15 20:03 +0200
      Re: Code flow control Kevin Chadwick <kevc3no4@gmail.com> - 2021-10-15 12:19 -0700
      Re: Code flow control "G.B." <bauhaus@notmyhomepage.invalid> - 2021-10-15 22:02 +0200
        Re: Code flow control Kevin Chadwick <kevc3no4@gmail.com> - 2021-10-15 14:30 -0700
          Re: Code flow control "Randy Brukardt" <randy@rrsoftware.com> - 2021-10-15 17:51 -0500
        Re: Code flow control "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de> - 2021-10-16 09:50 +0200
          Re: Code flow control Kevin Chadwick <m8il1ists@gmail.com> - 2021-10-16 06:26 -0700
            Re: Code flow control Kevin Chadwick <kevc3no4@gmail.com> - 2021-11-26 05:44 -0800
  Re: Code flow control "Jeffrey R. Carter" <spam.jrcarter.not@spam.not.acm.org> - 2021-10-15 19:53 +0200
  Re: Code flow control Roger Mc <rogermcm2@gmail.com> - 2021-10-15 16:30 -0700

csiph-web