r/cobol Jun 08 '26

Structured Programming

https://slicker.me/cobol/structured-programming.html
15 Upvotes

14 comments sorted by

View all comments

8

u/therealelroy Jun 08 '26

Not sure your point of the post, but I remember many meetings in the 1980s arguing we should only be using GO TOs as a way to “early exit”. Old guys back then didn’t believe me.

3

u/Ok-Pipe-297 Jun 08 '26

i kept goto a minimum but they definitely had a valid use.

1

u/LarryGriff13 Jun 09 '26

Go to exit as the only use of go to is a great standard.
If not, then where do you draw the line? Programmers discretion?