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

I think RPG could be refactored into something that supports javascript
style dynamic objects and garbage collection. Using the good functional
programming parts of javascript.

OO seems to be kind of outdated in that it is not functional. In an OO
language like Java or C++ a method has access to its input parameters and
the properties of the object. In a functional language like JS or RPG the
function/procedure works only on the input parameters and returns the
result to the caller. Another way to see the difference between OO and
functional is to say that an OO language retains state. Compared to a
functional language which is stateless. I would argue that stateless code
is a lot less buggy, can be reliably tested and is easier to maintain than
a system that retains state.

So yeah, I would like to see RPG improved to be more functional. Improve
RPG to be more like javascript. Dynamic objects. Garbage collection.
Procedures return objects with properties. Have string and number data
types which are automatically expanded to avoid data overflow errors.


On Mon, Feb 20, 2023 at 6:29 PM Javier Sanchez <
javiersanchezbarquero@xxxxxxxxx> wrote:

This key question....mmmm...I like very much the evolution of RPG and all
of its BIF's, and even DB2 SQL TR's related to supporting the latest Open
Source technologies.

How about start thinking of turning RPG into an OOL?
Is that in mind at IBM?

I think that would be just GREAT!


This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related

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