coding conventions : getUrl vs getURL
Brent Putman
putmanb at georgetown.edu
Thu Mar 7 16:21:29 EST 2013
On 3/7/13 4:16 PM, Tom Zeller wrote:
> 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.
More information about the dev
mailing list