Variables
Budgie allows for creating variables with the variable
command. It requires the variable name, the type of the variable, and an optional default value.
Untyped languages such as JavaScript will skip printing the variable type.
Pythonic languages such as Python and Ruby will skip declaring variables without a default value.
In C#:
In Python:
Types
As you saw from the interesting values above, some types such as infinity or true/false have aliases per language.
Built-in types will always be lower-case in Budgie. Uppercase types will always refer to user-defined classes.
Last updated