× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: Re: ILE RPG:Is the use of ITER & LEAVE Structured Programming?
  • From: DAsmussen <DAsmussen@xxxxxxx>
  • Date: Mon, 27 Apr 1998 09:09:04 EDT

Lo,

In a message dated 98-04-23 10:45:23 EDT, you write:

<<snip>>
> Personally I love GOTOs, and I use them a lot, especially when I have to
modify
>  old programs without actually re-engineering them. Sometimes (shame on me!)
>  I use them in my own programs, and, believe me, they are no less structured
then
>  any. Yes, in big projects it's better to stick with standards, and the
structured 
>  programming standard is probably a good one to adopt, but to spread it to
all
>  programming activities is, how shall I put it, ridiculous?

Aaaaaack!  I was "right there with you" until this GOTO mess appeared.  GOTO's
are the spawn of hades and, as such, should be exorcised from both programs
_AND_ the compilers (_PLEASE_, Hans?)!  The _ONLY_ excuse for using a GOTO is
that you are writing in a language such as CL that doesn't _SUPPORT_
structured code.  I can send you any number of examples from BPCS wherein
someone modified "an old program without actually re-engineering" it -- have
you _EVER_ tried to debug a 10 _THOUSAND_ + line program that GOTO's past code
and then GOTO's back into it???!!!  Or branches around code completely that
ends up never being used?  I issued a challenge here over a year ago for
someone to provide _A SINGLE EXAMPLE_ of structured language code that _HAD_
to have a GOTO, and not a single reply came back that couldn't be done better
with nested IF's or DO's...

JMHO,

Dean Asmussen
Enterprise Systems Consulting, Inc.
Fuquay-Varina, NC  USA
E-Mail:  DAsmussen@aol.com

"GOTO -- Good Only To Obfuscate" -- Me
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.