|
-----Original Message-----about
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-
bounces@xxxxxxxxxxxx] On Behalf Of Joe Pluta
Sent: vrijdag 20 juni 2008 15:04
To: RPG programming on the AS400 / iSeries
Subject: Re: Classes/Objects compared to SRVPGMs
Takken, Cor wrote:
What I do want to point out - and yes, I will keep on hammering
athat ;) - is that 'old fashioned' programming styles (what we areused
to and love in RPG, Cobol, C and what have you in that area) cannever
be compared in functionality and use to OO programming styles withthe
whole concept of inheritance and reuse through classes/objects andwhat
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
blind one, but the idea that OO programming is inherently better thanthan
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
inheritance as it becomes clear that complex object hierarchies leadto
brittle software - but at the end of the day, the trick isproductivity
and procedural programming still has its place.good
To insist otherwise is to have never written business logic with a
procedural programmer.
Joe
--
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing
list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.