coding conventions : getUrl vs getURL

Tom Zeller tzeller at dragonacea.biz
Thu Mar 7 16:58:51 EST 2013


>> The java coding conventions say use getUrl instead of getURL. Do we
>> actually have agreement on that ? Usage seems mixed.
>
> Well, the new fiat in the style document says use the former.  However,
> that style rule was added recently.  We have reams of code that doesn't
> conform to those case conventions.  We had a thread a little while back
> about that, re: spending the resources to fix all the old code.
> Most/all of the new code follows the new convention.  So we really do
> have a significant amount of both.  If we want to go for consistency
> (which IMHO is more important than the actual case convention choice),
> then we need to fix one batch of code or the other.
>
> Personally, I've been doing the new convention on any new code, and was
> assuming that, unless we decide otherwise, that we'd fixup the old code
> at some point.

Yup, I agree, thanks : new convention for new code, fixup old later.


More information about the dev mailing list