Re:Global variables are bad (2013)
by kyberias on Thursday July 26, 2018 @03:06AM
(#17615596)
In many programming languages, "constants" are compile-time and therefore cannot be used for holding command-line parameter value.
[ Parent
| on HN ]
Re:Global variables are bad (2013)
by partycoder on Thursday July 26, 2018 @10:42PM
(#17623081)
The only invariant of a constant is that it remains constant. The way that abstraction is represented is implementation specific.
Compiler generated constants can still change, because registers and memory are mutable.