I have used global variables in one form or another for years, and I have been constantly admonished that it is a bad thing to do. Could someone please provide a cogent argument why?
Surprised I don't have a list of references on this topic yet. Here's a start. Other cool references welcome.
References
From On Coding Standards and Code Reviews:
From On Interfaces and APIs:
👁️🍾👍🦟
In reply to Re^3: Common subs and Global Variables (Global Variables References)
by eyepopslikeamosquito
in thread Common subs and Global Variables
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |