Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
kyberias
on July 26, 2018
|
parent
|
context
|
favorite
| on:
Global variables are bad (2013)
In many programming languages, "constants" are compile-time and therefore cannot be used for holding command-line parameter value.
partycoder
on July 27, 2018
[–]
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.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: