Re: Infinite Loops and Explicit Exits
From: Peter Lacey (lacey_at_mb.sympatico.ca)
Date: 10/31/04
- Next message: Rick Smith: "Re: Infinite Loops and Explicit Exits"
- Previous message: James J. Gavan: "Re: OT English Language, Program or Programme"
- Next in thread: Rick Smith: "Re: Infinite Loops and Explicit Exits"
- Maybe reply: Rick Smith: "Re: Infinite Loops and Explicit Exits"
- Maybe reply: Esmond Pitt: "Re: Infinite Loops and Explicit Exits"
- Maybe reply: Richard: "Re: Infinite Loops and Explicit Exits"
- Maybe reply: Howard Brazee: "Re: Infinite Loops and Explicit Exits"
- Maybe reply: Howard Brazee: "Re: Infinite Loops and Explicit Exits"
- Reply: Howard Brazee: "Re: Infinite Loops and Explicit Exits"
- Maybe reply: Chuck Stevens: "Re: Infinite Loops and Explicit Exits"
- Maybe reply: Chuck Stevens: "Re: Infinite Loops and Explicit Exits"
- Maybe reply: Chuck Stevens: "Re: Infinite Loops and Explicit Exits"
- Maybe reply: Chuck Stevens: "Re: Infinite Loops and Explicit Exits"
- Maybe reply: Chuck Stevens: "Re: Infinite Loops and Explicit Exits"
- Maybe reply: Chuck Stevens: "Re: Infinite Loops and Explicit Exits"
- Maybe reply: Chuck Stevens: "Re: Infinite Loops and Explicit Exits"
- Maybe reply: William M. Klein: "Re: Infinite Loops and Explicit Exits"
- Maybe reply: William M. Klein: "Re: Infinite Loops and Explicit Exits"
- Maybe reply: Lueko Willms: "Re: Infinite Loops and Explicit Exits"
- Reply: Lueko Willms: "Re: Infinite Loops and Explicit Exits"
- Maybe reply: Joe Zitzelberger: "Re: Infinite Loops and Explicit Exits"
- Maybe reply: Richard: "Re: Infinite Loops and Explicit Exits"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 31 Oct 2004 14:47:55 -0600
Rick Smith wrote:
>
>
> I recognize the truth in what you say; but until WG4 takes
> an overt step to deprecate PERFORM ... THRU,
> multiple paragraph sections, and GO TO; such as by
> make these archaic, then what I have said remains valid
> for standard COBOL.
>
> When I discuss standard COBOL, my intent is noble;
> that is, I try to rise above the petty; but, in my own use
> of COBOL, I embrace the petty. Mr Plinston, you are
> preaching to the wrong person.
When I see posts like this, it seems to me that the purpose is to force
the elimination a style of programming (which is perfectly valid,
productive, and reliable) in favour of one which the author of the post
prefers. The ostensible reason is to eliminate errors which can be
caused by the misuse of the statements involved. Why not then eliminate
every verb which can be misused? Consider the COMPUTE verb: if somebody
accidentally uses a "+" instead of a "-", or enters 3.15 instead of 3.14
in his computation - dreadful possibly even catastrophic results can
occur. Get rid of the thing!!!
My example is facetious, of course, but my point remains valid. There
are very few verbs in the Cobol canon which can't be misused. Seems to
me that the argument ought to be applied everywhere.
The misuse of GOTO's only applies during the debugging and testing
phase, anyway. It isn't as if a GOTO will suddenly misbehave after
years of laying in wait. If a situation hasn't been anticipated by the
programmer after the same years and the program misfunctions as a
result, it's a design fault, not the fault of the verb in question.
I agree: Djikstra and his acolytes have done us a dubious service.
PL
- Next message: Rick Smith: "Re: Infinite Loops and Explicit Exits"
- Previous message: James J. Gavan: "Re: OT English Language, Program or Programme"
- Next in thread: Rick Smith: "Re: Infinite Loops and Explicit Exits"
- Maybe reply: Rick Smith: "Re: Infinite Loops and Explicit Exits"
- Maybe reply: Esmond Pitt: "Re: Infinite Loops and Explicit Exits"
- Maybe reply: Richard: "Re: Infinite Loops and Explicit Exits"
- Maybe reply: Howard Brazee: "Re: Infinite Loops and Explicit Exits"
- Maybe reply: Howard Brazee: "Re: Infinite Loops and Explicit Exits"
- Reply: Howard Brazee: "Re: Infinite Loops and Explicit Exits"
- Maybe reply: Chuck Stevens: "Re: Infinite Loops and Explicit Exits"
- Maybe reply: Chuck Stevens: "Re: Infinite Loops and Explicit Exits"
- Maybe reply: Chuck Stevens: "Re: Infinite Loops and Explicit Exits"
- Maybe reply: Chuck Stevens: "Re: Infinite Loops and Explicit Exits"
- Maybe reply: Chuck Stevens: "Re: Infinite Loops and Explicit Exits"
- Maybe reply: Chuck Stevens: "Re: Infinite Loops and Explicit Exits"
- Maybe reply: Chuck Stevens: "Re: Infinite Loops and Explicit Exits"
- Maybe reply: William M. Klein: "Re: Infinite Loops and Explicit Exits"
- Maybe reply: William M. Klein: "Re: Infinite Loops and Explicit Exits"
- Maybe reply: Lueko Willms: "Re: Infinite Loops and Explicit Exits"
- Reply: Lueko Willms: "Re: Infinite Loops and Explicit Exits"
- Maybe reply: Joe Zitzelberger: "Re: Infinite Loops and Explicit Exits"
- Maybe reply: Richard: "Re: Infinite Loops and Explicit Exits"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]