Does anyone know of any standards or best practices for dealing with acronyms and initialisms? (PHP and Javascript conventions would be most helpful to me but the reasoning for any language would be hepful)
Examples:
function getXML(){}
vs function getXml(){}
or
$userId
vs $userID