|
-----Message d'origine-----
[mailto:midrange-l-bounces@xxxxxxxxxxxx] De la part de Loyd Goodbar
Like Jonathan said, if you can infer the flag, just put that in a subprocedure and be done with it.
So, if the flag were dependent upon say, the client type, I could have :
clientFlag = getClientFlag ( clientType )
and in getClientFlag :
If clientType = TYPE_THIS....etc
If clientType = TYPE_THAT....etc
But this is seen as 'hard-coding' the client type and seems to be discouraged here. Hence the preference for adding the flag to the client file.
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.