|
I agree. Truly wise. All kinds of discussions of this before. Check the archives. My two cents again is that a subroutine is just a computed goto. A subprocedure is a black box or can be. You cannot encapsulate logic in a subroutine because you cannot have local variables. Every time you call a subroutine, you have to consider it's impact on the whole program. Any variable you changed could have screwed up something else. So on and so forth. Seriously, why would you still want to us a subroutine anymore unless you absolutely have to? Try to create a library of reusable code with subroutines. What a mess. -----Original Message----- From: Mike Wills [mailto:koldark@xxxxxxxxx] Sent: Wednesday, July 27, 2005 8:54 AM To: RPG programming on the AS400 / iSeries Subject: No Subroutines (was Re: Debugging many subprocedures) Really? That is a good thing? Why is that? On 7/27/05, David Gibbs <david@xxxxxxxxxxxx> wrote: > > Mike Wills wrote: > > I my vendor's infinite wisdom, there is not subroutines in their code, > it is > > all subprocedures. > > In that respect, they are truly wise. Seriously. >
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.