2 ms·
In all languages I'm aware of you can limit the visibility of global variables to the current compilation unit / source file, it's still 'mutable global state'
by flohofwoe 2y ago
In all languages I'm aware of you can limit the visibility of global variables to the current compilation unit / source file, it's still 'mutable global state' from the pov of functions in that file, but non-existent for anything outside the source file.