[Home] [By Thread] [By Date] [Recent Entries]
Ken MacLeod wrote: > > Elliotte Rusty Harold <elharo@m...> writes: > > > Since the word ID is capitalized in common usage, it should be > > capitalized in Java names as well. This is similar to how URL is > > captialized in class names like java.net.URL and method names like > > getURL() in the Java core library. > > The difference is that URL is an acronym and Id is an abbreviation. > I've seen it both ways enough that I wouldn't consider one to be that > more common than the other. Someone recently told me that an acronym has to be a real word. I don't know if that's technically true, but if it is what do we call something like URL? Also an abbreviation? Anyway, I'm typically only concerned with distinguishing between ID and Id in the context of an SGML/XML data type as opposed to (let's say) an attribute name. I don't particularly have any quams with something like getPublicId(). Michael A. Rossi mailto:mrossi@c... 856-983-4400 x4911 *************************************************************************** This is xml-dev, the mailing list for XML developers. To unsubscribe, mailto:majordomo@x...&BODY=unsubscribe%20xml-dev List archives are available at http://xml.org/archives/xml-dev/ ***************************************************************************
|

Cart



