On Friday 05 September 2003 12:34, Steve Fink wrote:Yes, I agree. I meant "if and only if" when I said "if". So leave out the parameter name if the type tells you all you need to know, but include the name if the type is insufficient.
In my own coding, I follow the rule of "leave it out if the type tells
you everything you need to know about the purpose." But that's a
subjective decision, and therefore dangerous to put in a coding style
guide.
I think that sometime the type is not enough to know everything you need, so having the name gets you closer (of course, if the name is representative enough).
Daniel.
Daniel Grunblatt wrote:
- [PATCH] pdd7 Vladimir Lipskiy
- Re: [PATCH] pdd7 Nicholas Clark
- Re: [PATCH] pdd7 Vladimir Lipskiy
- Re: [PATCH] pdd7 Steve Fink
- Re: [PATCH] pdd7 Daniel Grunblatt
- Steve Fink
