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



my one and only statement regarding this whole subject....they both have
their purpose. one is not *better* than the other but instead they
complement each other. each language has it's strong suits, using both
languages leveraging their strengths is the best possible scenario. Java
is great for GUI rendering and lightweight UI in general, RPG is great for
business processing, tie them together and you've got a great team.

Thanks,
Tommy Holden



From:
Joe Pluta <joepluta@xxxxxxxxxxxxxxxxx>
To:
RPG programming on the AS400 / iSeries <rpg400-l@xxxxxxxxxxxx>
Date:
06/20/2008 08:07 AM
Subject:
Re: Classes/Objects compared to SRVPGMs



Takken, Cor wrote:
What I do want to point out - and yes, I will keep on hammering about
that ;) - is that 'old fashioned' programming styles (what we are used
to and love in RPG, Cobol, C and what have you in that area) can never
be compared in functionality and use to OO programming styles with the
whole concept of inheritance and reuse through classes/objects and what
have you which is used in Smalltalk, Java, C++ and the likes.

I'm not going to get too far down this particular alley, because it's a
blind one, but the idea that OO programming is inherently better than
procedural is a topic that's been beaten to death here, Cor. The
suitability of a giving programming technique for a given purpose
depends a lot upon the programmer, but the idea that RPG can't provide
code reuse is simply untrue.

We can argue all day about whether inheritance is actually a benefit -
the OO experts seems to be leaning more towards composition rather than
inheritance as it becomes clear that complex object hierarchies lead to
brittle software - but at the end of the day, the trick is productivity
and procedural programming still has its place.

To insist otherwise is to have never written business logic with a good
procedural programmer.

Joe

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.