Global Variables Are Evil (Ch. 19)
By Philip Koopman
Published: August 11, 2013.
Global variables are memory locations that are directly visible to an
entire software system. This book chapter describes how they can increase complexity and lead to bugs. It also describes techniques to avoid or reduce the risk in using global variables. (This is Chapter 19 of the book Better Embedded System Software.)