Instance variable arguments
Within a class initializer or method, you can use
want
and need
with instance variables.
Thus, we can simplify this.
class Person
init {
need $name: Str, $age: Num
@name = $name
@age = $age
}
To this.
class Person
init {
need @name: Str, @age: Num
}
Next: Multiple initializers