I've been reading C & C++ conflicts in from a URL link to
...examples_short.pdf.It appears you're right.

The hassles of using 'const' & 'static' versus #define <> just isn't worth
pursuing.
I'll stick to the #define stmt and keep it simple.

Ric.


On Mon, Sep 21, 2009 at 2:40 PM, Greg Guerin <glgue...@amug.org> wrote:

> Frederick C. Lee wrote:
>
>  I'm assuming 'const <datatype>' is better then the compiler directive
>> '#define', due to the use of the compiler
>> for more-efficient code.   Hence the attempt.
>>
>
>
> Is your code currently bogged down loading #defined literal values?  If
> not, then why pursue efficiency, as opposed to not fixing it if it ain't
> broken?
>
>  -- GG
>
> _______________________________________________
>
> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/cocoa-dev/amourinetech%40gmail.com
>
> This email sent to amourinet...@gmail.com
>
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to