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



On 27/8/03 04:09, "Jan E. Schotsman" <email@hidden> wrote:

> Larry,
>
>> What's the value
> in:
>
> // Get the menu from the nib.
> err = CreateMenuFromNib( nibRef, inName, &menu );<
>
> I can think of one justification: if you just want to quickly revisit the
> function you can just read the red type and think "Oh yeah, I remember
> now". Kind of leaving in the original first version pseudocode.
>
> Jan.


Nah the reason why I put those comments there was actually because it was a
work in progress and I left all my function-prototype comments inside. This
is because I'm learning coding on MacOS so I kind of read the Apple
documentation and add comments in my code so when I come back I know what to
do.

Diego Rey
_______________________________________________
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 (From: "Jan E. Schotsman" <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.