Mutability

The deciding factor when choosing between a constant and a variable is whether the value needs to be mutable. Constants are suited for data that defines the rules of the system itself, not data that changes.

1 sources - 2 claims

The deciding factor when choosing between a constant and a variable is whether the value needs to be mutable. Constants are suited for data that defines the rules of the system itself, not data that changes.