Style Guide - RichardMarks/naming GitHub Wiki

Note: Some items were taken from this UE4 style guide by Michael Allar

Identifiers

An Identifier is anything that resembles or serves as a "name". For example, the name of an asset, or the name of a material, or a property, a variable, or a folder name, or for a data table row name, etc...

In any Identifier of any kind, never use the following unless absolutely forced to:

  • White space of any kind
  • Backward slashes \
  • Symbols i.e. #!@$%
  • Any Unicode character

Any Identifier should strive to only have the following characters when possible (the RegEx [A-Za-z0-9_]+)

  • ABCDEFGHIJKLMNOPQRSTUVWXYZ
  • abcdefghijklmnopqrstuvwxyz
  • 1234567890
  • _ (sparingly)