In 1972, as a new hire, I was given the task of maintaining an entire
COBOL application that was written with altered gotos and not a single
perform. 

When I asked why, I was told that their standard was to use altered
gotos instead of performs, because they were more efficient.

This ruling was later reversed, and whenever I had to do maintnenace or
even debug one of those horrors, I would typically do a complete
rewrite, based on the original program specs.  

This was much faster that trying to bebug "clever" use of alters.

Randy



-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On
Behalf Of Bob Shannon
Sent: Thursday, August 01, 2013 1:38 PM
To: [email protected]
Subject: Re: COBOL ? - emulating recursive PERFORM statement

>Programmers HATE altered GOTO's

I hated them 35 years ago. Hopefully they were never used in new code
after that.

Bob Shannon
Rocket Software

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send
email to [email protected] with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to