ww5 created page: build instructions authored by Wieselquist, William's avatar Wieselquist, William
......@@ -70,6 +70,10 @@ Basic ways of distinguishing word boundaries with ``<LWORD>=[a-z]+`` and ``<UWOR
* lower camel ``<LCAMEL>``=``<LWORD><UWORD>*, ``e.g. nexus, helloWorld, or myGreatApi
* Snake case ``<SNAKE>``=``<LWORD>(_<LWORD>)*``, e.g. nexus, hello_world, my_great_api
### Acronyms
Acronyms make defining word boundaries difficult and the best way to handle them is just to consider and acronym a "word" and capitalize appropriately. For example, a word for "document object model" would be "DocumentObjectModel" in upper camel, "documentObjectModel" in lower camel, and "document_object_model" in snake. But in many cases, the standard acronym "DOM" could be more easily interpreted and make the code more concise. This would be converted to "Dom" in upper camel and "dom" in lower camel and snake. As a class method, it could be ``process_dom`` instead of ``process_document_object_model`` or as a global function ``processDom`` instead of ``processDocumentObjectModel``.
## C++ Word Definitions
With those definitions in mind, let's define a set of word conventions. The main technical goal is to use the different ways of writing words to distinguish between as many parts of the language as possible.
......
......