On Wed, Oct 30, 2013 at 10:21 AM, Charles MARTIN
<cmartin@xxxxxxxxxxxxxxx> wrote:
Reflection would help me to build really cool apis.
Is there any way ?

Yeah. Use another language. RPG, even in its most advanced
incarnation, really doesn't make this easy. Possible, of course. But
you're swimming upstream if you're doing it in RPG.

The obvious choice is probably just to use Java. It's already
installed (for most if not all of us). It's got full IBM support,
lots of infrastructure, community, reference materials, etc. Its
interoperability with RPG is quite reasonable, from what I understand.
Leave the stuff that RPG is really good at to RPG, and do the rest
with something else. (You can still call the RPG programs from the
something else.)

If you are a little more adventurous, go with PHP or (iSeries)Python.
PHP has IBM support, but Python is arguably a better language. I
can't speak much to PHP as I don't use it, but the main thing I would
recommend is to not try so hard to take RPG so far out of its comfort
zone.

John

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.