:: Re: [DNG] C exception handling
Top Page
Delete this message
Reply to this message
Author: Didier Kryn
Date:  
To: dng
Subject: Re: [DNG] C exception handling
Le 02/11/2024 à 00:39, Bob Proulx via Dng a écrit :
>    I have always
> considered goto to be a keyword of the damned but this causes me to
> stop and think and consider that maybe I have been too harsh when it
> is used appropriately.


    There has been many critics about goto, up to the point to
recommend never using it. It was obviously due to widespread abuse. I
have seen some bad programmers horribly abuse of GOTO in FORTRAN. Some
people then recommended even to forbid its usage. But it is like
everything, to use moderately, when apropriate. A simple goto may avoid
a horrible nesting of loops.

--     Didier