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



Jon

Because I make big service programs that dosn't mean that they are
monoliths even though
many of the methods interacts.

In my current node.js project I have tried to structure code into specific
modules but especial
the utility class and methods that is used all over tends to grow big
because og their mutual
dependencies and of course the number of methods.

Another thing that makes modules big are build in documentation where 3
lines of code may
take 30 lines (exclusive examples) to document.

Of course modules that contains platform specific code is isolated in
modules

On Sun, Mar 19, 2017 at 4:28 AM, Jon Paris <jon.paris@xxxxxxxxxxxxxx> wrote:

Not "expects" - but certainly that is the way that RPG has worked for many
moons.

Hundreds of lines away? Maybe - but I didn't think you were into writing
monoliths <grin>

Besides - if I'm using RDi's outline I don't really care that much if it
thousands of lines away.


Jon Paris

www.partner400.com
www.SystemiDeveloper.com

On Mar 18, 2017, at 4:23 PM, Henrik Rützou <hr@xxxxxxxxxxxx> wrote:

I think what Jon means that he expects any field used in a loop like the
folowing to be prefined
by declarations hundreds of statements from the actual code


for (zdii = 0; zdii < keyField.length; zdii++) {
for (var key in zdbRow) {
if (zdbRow.hasOwnProperty(key)) {
if (key == keyField[zdii]) {
if (keyField.length == 1) {
zdbKey = zdbRow[key]
} else {
zdbKey[zdii] = zdbRow[key]
}
break
}
}
}
}



On Sat, Mar 18, 2017 at 9:16 PM, John Yeung <gallium.arsenide@xxxxxxxxx>
wrote:

On Sat, Mar 18, 2017 at 2:30 PM, Jon Paris <jon.paris@xxxxxxxxxxxxxx>
wrote:
No - because RPG requires strongly typed data declarations - we did
aways with the crap about creating fields in the calcs years ago.

There's some variation on what the term "strong" typing means, but I'm
not sure I'm following. In what sense are D-spec declarations
(free-form or not) "strong" while C-spec ones are not?

I would say D-spec declarations provide more organization and are
arguably more readable than C-spec declarations, but both are examples
of *static* type declarations. Maybe you mean D-spec declarations
offer the capability to define *structured* data?

John Y.
--
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




--
Regards,
Henrik Rützou

http://powerEXT.com <http://powerext.com/>
--
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

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

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.