×
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.
This seems to have evolved into a discussion of the relative merits of
3GLs vs. 4GLs, or imperative (procedural) versus declarative
(non-procedural) languages.
Procedural or "imperative" languages are what most of us are familiar
with -- assembler languages, COBOL, FORTRAN, PL/I, Pascal, C, etc.
Using these languages, you must elaborate all of the steps needed to
perform the desired tasks, step-by-step. In other words, you must
specify HOW to perform the desired tasks.
Non-procedural or "declarative" languages let you specify WHAT results
you want to obtain, rather than spelling out the details of how to
produce those results. There are many successful 4GLs on many platforms.
RPG in its original form was a kind of 4GL, with the "cycle" -- you
could produce report programs in a "declarative" way, with little or no
procedural code (C-specs).
Many System/38 RPG III programmers avoided the cycle in favor of writing
their own equivalents in full procedural code. This may have been done
in an effort to squeeze as much performance as possible from System/38s
and early AS/400 CISC models.
As RPG evolved into RPG II, RPG III and RPG IV, it seems to cater more
towards procedural coding style, while not totally abandoning the
"cycle" etc.
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.