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 27/08/2003 20:48, George Warner wrote:

> 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>

You got quoting wrong. That was Byron Han <email@hidden> who
wrote it. My reply on it was that it *adds* code bloat and complicates
debugging.

Mike
_______________________________________________
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.

References: 
 >Re: [OT] Commenting source code (Re: Problems with Controls (From: George Warner <email@hidden>)



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.