Often you would use well or somewhat established abbreviations in class or method names. But how do you CamelCase or camelBack them?
HTMLReportvs.HtmlReportCustomerDAOvs.CustomerDaoXMLRPCvs.XmlRpc
Which side is correct (or which would you prefer)?
In Java there’s little choice, if you want to treat HTML as one word, it has to be written as html or Html. For example, due to Java beans convention,
getHTML()implies a property namedhTML.It’s really up to the opponent to answer this question, why should HTML be in all capital letters? English convention? Who cares? If we follow English convention we should have spaces between words.