For Programmers: Free Programming Magazines  


Home > Archive > Cobol > November 2004 > Re: Para1 THRU Para2 (was: Infinite Loops and Explicit Exits









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: Para1 THRU Para2 (was: Infinite Loops and Explicit Exits
Peter Lacey

2004-11-18, 8:55 am

Robert Wagner wrote:
>
>
>
> What's wrong with it is program bloat. Practitioners PERFORM .. THRU
> -EXIT on every blasted paragraph, not just the minority (if any) that
> need an exit.
>

Practioners likely do this to avoid the possibility of coding

PERFORM xxx.

when they should code

PERFORM xxx THRU xxx-exit.

Either you NEVER use THRU or you ALWAYS use THRU. Either way you'll
never have that particular logic fault.

PL
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com