title: Using a namespace in place of a static class in C++?
body: <p>Is it good or okay practice to use a namespace as a static class? For example:</p>
  
  <pre><code>namespace MyStaticFunctions {
      void doSomething();
  }
  </code></pre>
  
  <p>Versus:</p>
  
  <pre><code>class MyStaticFunctions {
      static void doSomething();
  }
  </code></pre>