Re: Code Guidelines
Re: Code Guidelines
- Subject: Re: Code Guidelines
- From: Alex Curylo <email@hidden>
- Date: Tue, 01 Jun 2004 11:16:14 -0700
on 6/1/04 9:26 AM, email@hidden at
email@hidden wrote:
>
Yup, and it is not mystical the slightest bit: it is that (a) there is
>
no reason altogether to tell parameters from locals: they are the very
>
very same thing,
Hmmmm ... that strikes me as incorrect. Changing the values pointed to by
reference and pointer parameters affects code outside the local scope, which
manipulating a local doesn't. Thus for instance PowerPlant's convention of
prefixing parameters with "in" or "out" or "io" to make it clear what their
scope is strikes me as reasonable. More reasonable than the empty-defined
"IN" and "OUT" you see throughout Win32 headers, anyway, and more reasonable
than no convention whatsoever to indicate which a given parameter might be
while browsing header files new to you...
--
Alex Curylo -- email@hidden --
http://www.alexcurylo.com/
I don't have an attitude problem. You have a perception problem.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.