On 21/03/2008, at 7:07 AM, rob@xxxxxxxxx wrote:

Why do you need a suffix? Oh, the prototype. Isn't that what
"conditional compilation" is for?

I certainly wouldn't waste three characters on a suffix. I need as many characters as possible for the NAME leaving, generally, one character for a suffix or infix depending on convention.

However, my real issue in your append is with conditional compilation directives being used to put a prototype and definition in the SAME source. I consider that mad.

1) It only works where you have access to the complete source code
2) It allows consumers to peek at the implementation
3) It is unconventional as far as other languages with prototype support are concerned
4) It makes the code look ugly
5) It confuses developers (due to 3)
6) It can slows down the compile by forcing the compiler to at least read extra source lines

Simon Coulter.
FlyByNight Software OS/400, i5/OS Technical Specialists

Phone: +61 2 6657 8251 Mobile: +61 0411 091 400 /"\
Fax: +61 2 6657 8251 \ /
ASCII Ribbon campaign against HTML E-Mail / \

This thread ...


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

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