|
Scott,If you are distributing callable black box APIs, there's no question that separate copy members is the way to go. I don't work that way, and I prefer to have the code in one place, so I use the DEFINE method. Only one member to open, only one place to make changes. Although WDSC makes it easier, having to open and edit two different source members just to make a change in a protoype is cumbersome to me. Of course, that's just my opinion. And it doesn't do you any good for CL, because there's no parallel approach.
I have to agree with you - I've never liked coding DEFINEs in my program
source - I like to be able to simply code COPYs. Plus, I like the fact that
if you have a separate prototype copybook, you can include lots of comments
about *how* the procedure should be called, possible return values etc.,
whilst leaving the actual procedure code as a black-box. This is especially
true for shipped software.
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.