× 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.



On 8/10/07, Nathan Andelin <nandelin@xxxxxxxxx> wrote:
Good points, Joe.

RPG may be a procedurally oriented language, but having variables and data with module-level scope is no different than having variables and data with class-level scope in an OO language.


that is a good point. a strong case can be made that the less state
there is in a program, the better. As I understand the contrast of
imperative and functional languages to be, the variable action of a
procedure should be governed entirely by its parameters. That means a
procedure should not access a static or class member variable. To do
that would mean the procedure cant be isolated and tested completely -
it cant be verified. This also means you cant read a record in a
database and perform an action. Which kind of means you should just
power down the system since none of the code you run is close to being
verifiable.

http://en.wikipedia.org/wiki/Imperative_programming

-Steve

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.