May 2018
Intermediate to advanced
412 pages
9h 3m
English
Elixir identifiers must start with a letter or underscore, optionally followed by letters, digits, and underscores. Here letter means any UTF-8 letter character (optionally with a combining mark) and digit means a UTF-8 decimal-digit character. If you’re using ASCII, this does what you’d expect. The identifiers may end with a question mark or an exclamation mark.
Here are some examples of valid variables:
| | name josé _age まつもと _42 адрес! |
And some examples of invalid variables:
| | name• a±2 42 |
Module, record, protocol, and behavior names start with an uppercase letter and are BumpyCase. All other identifiers start with a lowercase letter or an underscore, and by convention use underscores ...
Read now
Unlock full access