|
Lack of options can be an advantage, if-when you have all what you need.
Read an account number -> show a web table with the transactions is a
typical request and it does not require sophisticated structures.
Show a form, read, validate, store in data base is easily done in RPG.
Javascrit will be the best tool to help the user to fill the form.
On 07/04/2017 07:16 PM, Henrik Rützou wrote:
The real problem with RPG is the lack of options. If we compare RPG with
javascript, RPG must be procedural while javascript may be a mix of
procedural and OO code.
Javascript has also much more advanced datastructures where RPG is limited
to predefined arrays with fields javascript has dynamically defined arrays
and objects where objects may consist of data, array’s, sub-objects or
code. Besides that data structures in javascript may be redefined in new
data structures as referential, shallow or deep copies of the original.
And then there is the processing-model that in javascript may be either
synchrone or asynchrone or a mix of both.
In other words you may code javascript as you code RPG but you can’t and
will never be able to code RPG like you code javascript so a javascript
programmer will always see RPG as a language that lack options.
On Wed, Jul 5, 2017 at 1:02 AM, Richard Schoen <
Richard.Schoen@xxxxxxxxxxxxxxx> wrote:
Do you have some examples of how these former disgrunted OO devs have
found OO programming to be flawed ?
Just curious since your statement seems pretty generic.
Regards,
Richard Schoen
Director of Document Management
e. richard.schoen@xxxxxxxxxxxxxxx
p. 952.486.6802
w. helpsystems.com
------------------------------
message: 2
date: Tue, 4 Jul 2017 01:37:25 +0000
from: Justin Taylor <JUSTIN@xxxxxxxxxxxxx>
subject: RE: RPG easier/harder to use than other languages?
I'm seeing a number of disgruntled former OO devs these days claim that
OO
is flawed in concept. Personally I haven't done enough to have my own
opinion. I have seen some crazy designs where people try to force a
strict
"text book" OO solution over problems where that concept doesn't really
seem to fit.
-----Original Message-----
From: Raul A Jager W [mailto:raul@xxxxxxxxxx]
Sent: Monday, July 03, 2017 5:32 PM
To: rpg400-l@xxxxxxxxxxxx
Subject: Re: RPG easier/harder to use than other languages?
Lots of business needs are better served by OLTP and relational database
rather than OO. Sure, for the user interface OO is great, so use
javascript
in the browser and RPG in the server. Do not use 5250. Do not use "screen
scrapers". Develop for web.
How do you classify a language as modern or not? The OO model is quite
old. Java is showing its age to. Python is from the 80s.
Is OO the right tool for everything? Interpreted languages require very
careful testing, and control over the input.
When there are lots of transactions, a compiled language like RPG or
Cobol
will enable the same processor to handle easily 20 times more
transactions
than the same code in PHP. Moore law does not work anymore, the speed
has
remained at 4 GH since the last 10 years or more. It is far more
expensive
to set up 20 servers rather than the difference of cost between
developing
in PHP or RPG.
--
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: 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.
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
-- Este e-mail fue enviado desde el Mail Server del diario ABC Color --
-- Verificado por Anti-Virus Corporativo Symantec --
--
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: 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.
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.