title: Initializer list vs Constructor assignment vs variable defining
body: <p>I'm trying to understand the real difference between the following Classes.</p>
  
  <pre><code>class A
  {
  public:
      A()
      :width(500)
      ,height(300){};
      int width;
      int height;
  };
  
  class B
  {
  public:
      B()
      {
          width = 500;
          height = 300;
      };
      int width;
      int height;
  };
  
  class C
  {
  public:
      int width = 500;
      int height = 300;
  };
  </code></pre>
  
  <p>Which one do you think is the best way to initialize <code>width</code> and <code>height</code> variables in a class?</p>
  
  <p>Should I stick to one way over the others?</p>