Compiler and Runtime Enforcement

Using a constant instead of a variable where either would work adds a protective layer against accidental overwrites. The compiler or runtime will reject any code that attempts to overwrite a constant's value.

1 sources - 2 claims

Using a constant instead of a variable where either would work adds a protective layer against accidental overwrites. The compiler or runtime will reject any code that attempts to overwrite a constant's value.