mut object Point {
int x,
int y,
}
| If we do it per instance + immutability by default we would have to say here that
| the variable is mutable and that the instance it contains is itself mutable.
| Not really elegant.
var mut Point point = Point{
x = 10,
y = 10,
}
Either declare an object as immutable:
And/Or declare an instance as immutable:
Both would allow:
And/Or declare fields as immutable #13
If we do https://github.com/buzz-language/buzz/issues/139 the keyword would need to specify mutability instead: