CamelCase: Difference between revisions

Everything About Fiction You Never Wanted to Know.
Content added Content deleted
m (removed Category:Administrivia using HotCat)
Line 15: Line 15:
{{reflist}}
{{reflist}}
[[Category:Newspeak]]
[[Category:Newspeak]]
[[Category:Administrivia]]
[[Category:Self Demonstrating Article]]
[[Category:Self Demonstrating Article]]
[[Category:Camel Case]]
[[Category:Camel Case]]

Revision as of 07:23, 29 December 2013

aWord with embeddedCapitalisedLetters, like theHumps onTheBack of aCamel. theMainWay toMake aWikiWord. (Not that you need to on All The Tropes...)

The first letter may or may not be capitalized depending on the context.

  • Also used in programming as one style for defining multi-word variables.
    • This is actually useful so you can give a succinct idea of what said variable is supposed to do, instead of having to write lengthy comments about them in the function they're being used in.
    • In other languages, such as LISP, the preferred convention is caravan-case, as LISP does not use infix syntax (thus freeing the hyphen), and caravan-case is generally seen as easier to read
    • For those less familiar with the limitations of programming grammars, it's also because compilers tend to have no way of parsing two separate words as part of the same variable name.
  • Used by corporations to string together two or more common nouns in a way that can be trademarked.
  • Used by corporations when two or more predecessor companies are merged into one new one (as well as for trademark purposes).
  • May overlap with Portmanteau Couple Name, Portmantitle.
  • Used for Twitter hashtags containing multiple words (e.g. #AllTheTropes).