But, *BNDDIRs are one of the mechanisms (IMHO) that help enable "information hiding" which is one of the attributes of abstraction.

If you were to think in terms of *SRVPGMs which reference *SRVPGMs which reference other *SRVPGMs, you begin to get the idea that some "level 3" *SRVPGMs should not be referenced directly by "level 1" objects. In that case, there is no reason to include the "level 3" *SRVPGMs in a "level 1" *BNDDIR.

*BNDDIRs then begin to provide a mechanism similar to "packages" in Java.

Does that make any sense to anybody?  <grin>

L. Wayne James



I think so, didn't think of that, thanks. It seems like one could imagine such scenarios. And I think I have enough of view on it now.

What a lot of people will do to make things even simpler is put *ALL*
service programs in a single binding directory, and include that BNDDIR()
in every program that they write.  Then you never have to worry about it.





This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2026 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.