|
Richard,
Don't be ashamed. Looking for better ways of doing things is certainly
good, but the cycle is not as horrible as some people make it out to
be.
I am not saying the cycle is glorious. I am not saying you should
specifically choose to use the cycle if you are comfortable doing
without it. You should definitely explore ILE concepts.
But, if we can avoid religious dogma for just a second, the cycle
actually is well suited for certain tasks. If your program is one that
fits what the cycle was designed for, then using the cycle is going to
be the cleanest way home. Converting such a program to avoid the cycle
makes it more verbose and visually clunkier. (Because essentially, you
have to write additional code to explicitly do what would have been
handled automatically by the cycle.)
That said, the cycle is quite limited in what it's good for. So a lot
of people have simply gotten out of the habit of using it, and they
haven't missed it.
Just so it's clear: I'm not someone who "grew up" with the cycle, so
I'm not defending it out of any sense of loyalty or nostalgia. I had
been programming (both self-taught and at university) for 13 years or
so before I ever even heard of the RPG language.
John Y.
--
This is the RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L)
mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.
Please contact support@xxxxxxxxxxxx for any subscription related
questions.
As an Amazon Associate we earn from qualifying purchases.
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.