Re: Code Guidelines
Re: Code Guidelines
- Subject: Re: Code Guidelines
- From: "M. Uli Kusterer" <email@hidden>
- Date: Mon, 31 May 2004 01:11:29 +0200
At 12:16 Uhr +0800 28.05.2004, Christoffer Lerno wrote:
What are your guidelines and why?
When I feel disciplined, I usually name local variables as
vName
and parameters as
inName
outName
ioName
depending on whether they are side effects or simple pass-by-value
etc. With that in place, I can safely name member variables things
like
name
because it's immediately obvious which is which.
But, looking over my current crop of released code, it looks that I
didn't really feel disciplined that frequently in that regard.
--
Cheers,
M. Uli Kusterer
------------------------------------------------------------
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
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.