title: Difference of New Function and Uninitialized Variable
body: <p>What's the difference of new function and uninitialized variable? What's the advantage of both?</p>
  
  <pre><code>s := new(string) // *string
  var s *string    // *string
  var s string     // string
  </code></pre>
  
  <p>Is it only for simplicity the code? Because i think it's same</p>
  
  <pre><code>s := new(string) /* same as */ var s *string = &amp;emptyString
  </code></pre>