Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
Puts
· 1y ago · 0 comments
I think the author forgot the most useful use case for globals, and that is variables that has to do with the context the program is running under such as command line arguments and environment variables (properly validated and if needed escaped).
Comments
[–]
peanut-walrus
1y ago
Do those change during program runtime though? I don't think many people have problems with global constants.