10 ms·
> Anyways, most of this is moot without real code. Agreed, I hesitated answering because of this, but oh well. > What is locally global supposed to mean? It
by jonahx 8y ago
> Anyways, most of this is moot without real code.
Agreed, I hesitated answering because of this, but oh well.
> What is locally global supposed to mean?
It means within this local context, we have 7 global variables. Just because they aren't global to the entire program doesn't make them magically exempt from the problems of shared data. Specifically, it's too difficult to reason about logic and control flow, even in this small example. You cannot have strong confidence the code is bug-free just by inspecting it.