title: Defining variables after class methods
body: <p>I keep seeing code where class variables are declared after methods at the bottom like</p>
  <pre><code>class Observer
  {
  public:
      int getstate();
      void update(int state);
  private:
      int state;
  };
  </code></pre>
  <p>Is this a common practice I should adapt to? Is there a reason for ordering them like this?</p>