Michael Kearns wrote:
>
>> [X]: All capital
>> [ ]: Only the initial letter should be capital
> It's English, and that's how english is written. It's how existing
> classes within the Java API are written, and it's how the vast
> majority of names were written before framework developers became lazy
> when implementing autowiring of properties.
>
WellIAmQuiteSureEnglishIsNotNormallyWrittenUsingCamelCase. :-P

In fact Sun isn't as consistent in their naming as one may think:

Java SE (5.0):

java.beans.XMLDecoder
java.net.HttpRetryException
javax.net.ssl.HttpsURLConnection
java.net.HttpURLConnection
javax.print.attribute.standard.PrinterURI
javax.print.attribute.standard.ReferenceUriSchemesSupported
(these are my favourite ones ;-) )
javax.sql.rowset.spi.XmlWriter.writeXML(...)
javax.sql.rowset.spi.XmlReader.readXML(...)


Java EE (1.4):

javax.enterprise.deploy.model.J2eeApplicationObject
javax.servlet.jsp.JspContext
javax.servlet.jsp.JspWriter

So they don't seem to be able to decide whether it should be Xml or XML,
URI or Uri. They always seem to use HTML, Http and Jsp. :-)

-- 
Niklas Therning
www.spamdrain.net

Reply via email to