No Global Variables

From CSSEMediaWiki
Revision as of 04:51, 7 October 2008 by Dominic Winkler (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Enough said.

Global variables are an instant source of unpredictable coupling. Short of searching all your source code for references to a global variable you can never quite be sure who is setting it to what value and are they playing fair.

See Also

Personal tools