Erlang Variables

If you have worked with other languages like JavaScript, Java, Python etc, you would be surprised by what Erlang understands as variable. In Erlang, variables starts with uppercase letter, thus, C, X, Ape, Ant are all valid identifiers for Erlang variables. Variables can not start with lowercase letter or begin with a number. Erlang variables can include can alphanumeric characters, an underscore and @ symbol. X = 1. %% Valid y = 2....

June 14, 2021 · 2 min · Aleem Isiaka