A simple identifier is a unique name for a software element. It starts with a letter, followed by any number of letters (lowercase and uppercase), digits and underscores (_).
Identifiers are case sensitive. For example, first_name is not the same as First_name.
Table 4.1. Identifier
| Production | Syntax | Links |
|---|---|---|
identifier |
letter ( letter | digit | "_" ) *
| the section called “Simple identifier” |
![]() | Note |
|---|---|
To increase source code readability it is recommended to use the underscore as word separator in identifiers, instead of capital letters. Example:
is easier to read than
|