5 ms·
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 comma
by Puts 2y ago
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).
- peanut-walrus 2y agoDo those change during program runtime though? I don't think many people have problems with global constants.