Re: Consistent argument naming
"Charles Goodwin" <charlie-wHF57V0oYf6w5LPnMra/[email protected]>
| Newsgroups | gmane.comp.java.xwt.widgets |
|---|---|
| Message-ID | <[email protected]> |
>> _trap = function( v ) { ... }
>>
>> Should we always use 'v'?
>
> I don't think it really matters. For some strange reason, I've always
> used v, however I don't really consider it an issue of consistency.
>
> It's just important it stays consistent inside the function. :)
I'd strongly disagree with this. From the perspective of the standard
widgets and themes being example code, reference code even, they should be
strictly consistent in terms of style - everything should be written in
the same way; the same spacing, the same naming conventions, the same
commenting style.
Consistency goes way beyond what's in one function.
- Charlie