View Single Post
  #1 (permalink)  
Old May 30th, 2005, 12:22 PM
fuehrer fuehrer is offline
Registered User
 
Join Date: Apr 2005
Posts: 6
Thanks: 0
Thanked 1 Time in 1 Post
Default Why avoid global variabel?

Many books on programming often avoid using global variable because it is considered harmful. Why is that? Does global variable use lesser instruction because it is treated as static by compiler, so it have more performance than locals ( which is treated as stack dynamic ).



Precision is not truth!
Reply With Quote
The Following User Says Thank You to fuehrer For This Useful Post: