2 ms·
I don't have a strong opinion either way (I probably like snake case more, but use camel/pascal case basically everywhere) but this doesn't work as well when ac
by yoklov 13y ago
I don't have a strong opinion either way (I probably like snake case more, but use camel/pascal case basically everywhere) but this doesn't work as well when acronyms are involved. e.g. is it XmlParser or XMLParser? I'd say the latter, but someone else might disagree.
I think there are more ambiguous examples, but cant think of them.
- romanovcode 13y ago> is it XmlParser or XMLParser? MS standards says that if shortened letter combination is longer than 2 words than it's lowered, otherwise everything is uppercase. e.g. XmlParser, IOStream But again, everyone can create their own standard and be happy. The only problem occurs when you work with 10 people and everyone is sticking to his own style.
- yoklov 13y agoNot every API is that consistent. JavaScript's `XMLHttpRequest`, for example...