title: Proper way to write methods
body: <p>The book "Clean Code" by Robert C. Martin says <strong>a method should do one thing</strong>. Now for example, I have two method initialize() and play(). </p>
  
  <blockquote>
    <p>initialize() should be called just before play() is called.</p>
  </blockquote>
  
  <p>play() method would be called hundreds of times in my code. I can see three approaches:</p>
  
  <p><strong>Approach-1:</strong></p>
  
  <p>Call initialize() before play() and this could be repeated over hundreds of times.</p>
  
  <pre><code>initialize();
  play();
  
  ...
  
  initialize();
  play();
  
  ...
  </code></pre>
  
  <p><strong>Approach-2:</strong></p>
  
  <p>Put initialize() inside play() method. But this would go against "do one thing" approach.</p>
  
  <pre><code>void play() {
      initialize();
      ...
  }
  </code></pre>
  
  <p><strong>Approach-3:</strong></p>
  
  <p>I should write another method called initializeAndPlay().</p>
  
  <pre><code>void initializeAndPlay() {
      initialize();
      play();
  } 
  </code></pre>
  
  <p>Is there any other better and cleaner way to do this?</p>