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



High cohesion, low coupling!
- sjl


"Barbara Morris" wrote in message news:mailman.13793.1360023037.10847.midrange-l@xxxxxxxxxxxx...

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.


As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.