Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [OT] Commenting source code (Re: Problems with Controls



On Wed, 27 Aug 2003 04:01:47 +0400, Mike Kluev <email@hidden> wrote:
>> better yet use a macro. reduces code bloat and function call overhead.

Why "#define" macros are evil:

<http://www.parashift.com/c++-faq-lite/inline-functions.html#faq-9.5>
<http://www.parashift.com/c++-faq-lite/misc-technical-issues.html#faq-38.4>
<http://www.parashift.com/c++-faq-lite/misc-technical-issues.html#faq-38.5>
<http://www.parashift.com/c++-faq-lite/misc-technical-issues.html#faq-38.6>

Sometimes you should use them anyway:

<http://www.parashift.com/c++-faq-lite/big-picture.html#faq-6.15>


--
Enjoy,
George Warner,
Schizophrenic Optimization Scientists
Apple Developer Technical Support (DTS)
_______________________________________________
carbon-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/carbon-development
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.