Now that we've looked at types, we'll take a look at how we can instantiate different types in the language. We'll see how variables and constants work first, and then we'll talk about functions and methods.
Variables and functions
Handling variables
Variables represent mapping to the content of a portion of contiguous memory. They have a type that defines how much this memory extends, and a value that specifies what's in the memory. Type can be basic, composite, or custom, and its value can be initialized with their zero-value by a declaration, or with another value by assignment.