CamelCase: Difference between revisions

no edit summary
(trope->useful notes)
No edit summary
Line 7:
** 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. So if you want them readable, it's either CamelCase or With_underscore, now that it's in standard layouts - depending mostly on whether your editor recognizes either as word boundary and whether you're used to typing it this way or that.
* Used by corporations to string together two or more common nouns in a way that can be [[trademark]]ed.
* Used by corporations when two or more predecessor companies are merged into one new one (as well as for trademark purposes).