naming conventions redux
Cantor, Scott
cantor.2 at osu.edu
Mon Jul 1 09:58:06 EDT 2013
> I'm also kind of at a loss to think of many places we actually use abbreviations
> as opposed to acronyms. The most obvious seems to me to be "identifier"
> which we have historically rendered as "id" as in "setId" and "getId". It
> doesn't seem to me that an abbreviation should in fact end up upper-cased.
Well, I'm, again 100% consistent in favoring ID over Id, but we have a lot of the latter and less of the former, so if you want to leave it alone, that's fine. Particularly since the schemas mostly have id or Id now, and it would be awkward to have those inconsistent.
As far as having a rule about it, I would say it's rare enough that we can just document particular choices.
-- Scott
More information about the dev
mailing list