No Global Variables

From CSSEMediaWiki
(Difference between revisions)
Jump to: navigation, search
(New page: 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 ...)
 
(See Also)
 
(2 intermediate revisions by 2 users not shown)
Line 2: Line 2:
  
 
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.
 
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 ==
 +
 +
* [[No global variables or functions|Riel's heuristic 8.1]]
 +
* [[Singleton]]

Latest revision as of 04:51, 7 October 2008

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