| ▲ | phcreery 8 hours ago | |||||||
Agreed, using `var` keyword for something that is non-var-ying (aka immutable) is not very intuitive. | ||||||||
| ▲ | ekipan 3 hours ago | parent [-] | |||||||
Mutability is distinct from variability. In Javascript only because it's a pretty widely known syntax:
y is an immutable variable. In f(3), y is 4, and in f(7), y is 8.I've only glanced at this Zen-C thing but I presume it's the same story. | ||||||||
| ||||||||