Most of us say, (often without really knowing),
"Do not use global variables"
Martin Fowler expresses in one of his books, Patterns of Enterprise Application Architecture , that
"any global variable is always guilty until proven otherwise"
- Why is it bad practice to use global variables?
- Are they really harmful?
- Or is it just
an irrationalprejudiced hatred on the part of the purists ?
Source: mundogeek.net - Global variables