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



For me, a big advantage of ILE is the ability to have multiple levels of
privacy.

Privacy?

Is that a correct term in this context? Never heard or read about it using
the term "privacy".

Public/private, encapsulation, information hiding, etc, but privacy is
something that applies to something like facebook (or rather not).



On Tue, Feb 5, 2013 at 1:10 AM, Barbara Morris <bmorris@xxxxxxxxxx> wrote:

On 2013/2/3 8:17 PM, w 4038 wrote:
What good is ILE??
...
All the complexity just increases the potential for coding errors.

For me, a big advantage of ILE is the ability to have multiple levels of
privacy. Increased privacy tends to decrease the potential for coding
errors.

Say A calls B to do some subtask, and you want to change the first
parameter for B to be bigger.

If B is a separate *PGM, then B is public to the entire system. You now
have to do some analysis to determine who is calling B, so you can
increase the size of the variable that is being passed to B by all
callers. If you miss one of the callers of B, you might not find out
about the error until years later, if the storage corruption caused by
the parameter mismatch doesn't cause an exception.

If B is a _non-exported_ procedure in the same module as A, then B is
private to the module containing A and B. You don't have to do any
analysis at all. It is impossible to miss compiling one of the callers
of B. And even if you miss one of the callers of B so you don't change
the length of its parameter, the compiler will tell you immediately.

--
Barbara
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.



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.