title: When to use static keyword before global variables?
body: <p>Can someone explain when you're supposed to use the static keyword before global variables or constants defined in header files?</p>
  
  <p>For example, lets say I have a header file with the line: </p>
  
  <pre><code>const float kGameSpriteWidth = 12.0f;
  </code></pre>
  
  <p>Should this have <code>static</code> in front of <code>const</code> or not? What are some best practices for using <code>static</code>?</p>