|
-----Message d'origine-----
[mailto:midrange-l-bounces@xxxxxxxxxxxx] De la part de Charles Wilt
Envoyé : mercredi 12 janvier 2011 19:26
> I feel that it's a little scary though. Imagine someone
made a mistake
> in the binder source? I suppose it's difficult to make, but
it must be possible.
Sure, but if somebody can't be trusted to add lines to the
end...perhaps they are in the wrong line of work?
And it's easy enough to double check. Lot's easier than
double checking that you didn't miss recompiling something
that used a bound by copy module.
Maybe it's because I'm so used to prototypes that would make sure I didn't mix up my parameters when I compile. Here we have the possibility of mixing up procedures, with one program running ok and another not. And no compiler to help.
In the end I suppose it's similar to adding a parameter to an old opm program.
I agree with Barbara's conclusions from the message you linked to:
1. Don't use EXPORT(*ALL).
2. You can't change the order of the exports with either
style of binder
source, so you might as well use the simple form with the single
list of exports.
As a newbie to binder source, I found Buck's way with multiple lists and signatures very intuitive. But I can imagine that these lists can become very long.
--
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 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.