Professional Documents
Culture Documents
Dull Man
Dull Man
At first glance
use of global variables seems easier than passing arguments around.
Why not have all the data declared outside of functions, so that all
functions can access what they want when they want? But this apparent
convenience causes many problems when writing larger systems.
Since a global variable can be seen, accessed and changed by any