|
IMHO SQL is a Structured Query Language in a syntax specialized to process
relational data structures to create an intermediate result set extracted
from a RDBMS. It has never been intended to process Hierarchical Data
Structures and/or NOSQL DB’s and trying to do so will eventual bring one
into a dead end.
It is a “one statement language” and as so it is nearly impossible to
structure the code into sections that is only processed based on complex
calculated values and rules (BL) especially if the BL depends on partial
results from the processing itself mixed with perhaps changing values from
the environment outside the statement itself.
On Sat, Mar 10, 2018 at 4:41 PM, Jon Paris <jon.paris@xxxxxxxxxxxxxx>
wrote:
"And by the way, I don't think likening SQL to OOP is a great way tomike.jones.sysdev@xxxxxxxxx>
entice Jon. He's been known to have his differences with OOP as well. ;)"
Only when it is pushed as the solution to all computer problems John.
And I don't really have "differences" with it - but I have frankly
admitted that after many, many years of procedural programming that it
remains hard for my ancient brain to adapt to it.
Jon Paris
www.partner400.com
www.SystemiDeveloper.com
On Mar 9, 2018, at 11:57 PM, John Yeung <gallium.arsenide@xxxxxxxxx>wrote:
On Fri, Mar 9, 2018 at 9:49 PM, Mike Jones <
wrote:(RPG400-L)
onEmbracing SQL is all about "delegating".
IMO, this is similar in concept to OO programming, where you rely more
others' objects, and have to let go of some of the details.
That's... an interesting opinion to have.
And you're certainly entitled to your opinions. But... the folks who
build the objects... do you not think of them as object-oriented
programmers?
Do you think of the object-builders as a different kind of programmer
than the object-users?
How about the folks who write ILE modules, programs, or service
programs which are then used by RPG programmers? There's delegation
going on there too, but RPG is certainly not very object-oriented, and
if you ask folks who use languages which are more widely recognized as
object-oriented, they would call neither the service-program writers
nor the service-program consumers "object-oriented programmers".
And by the way, I don't think likening SQL to OOP is a great way to
entice Jon. He's been known to have his differences with OOP as well.
;)
John Y.
--
This is the RPG programming on the IBM i (AS/400 and iSeries)
mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxquestions.
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.
Please contact support@xxxxxxxxxxxx for any subscription related
link: http://amzn.to/2dEadiD
Help support midrange.com by shopping at amazon.com with our affiliate
--
This is the RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L)
mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.
Please contact support@xxxxxxxxxxxx for any subscription related
questions.
Help support midrange.com by shopping at amazon.com with our affiliate
link: http://amzn.to/2dEadiD
--
Regards,
Henrik Rützou
http://powerEXT.org <http://powerext.org/>
--
This is the RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L)
mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.
Please contact support@xxxxxxxxxxxx for any subscription related
questions.
Help support midrange.com by shopping at amazon.com with our affiliate
link: http://amzn.to/2dEadiD
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.