in reply to Top level my vars and their global use in a file
As I am fond of saying, knowing what the rule officially is is not as important as knowing why that rule evolved and what the tradeoff is. There is always a tradeoff.
BTW Code Complete has an excellent discussion on global variables.
|
|---|