title: Normal array in Swift vs 'NSMutableArray'?
body: <p>So in Swift, what's the difference between</p>
  
  <pre><code>var arr = ["Foo", "Bar"] // normal array in Swift
  </code></pre>
  
  <p>and</p>
  
  <pre><code>var arr = NSMutableArray.array() // 'NSMutableArray' object
  
  ["Foo", "Bar"].map {
      arr.addObject($0)
  }
  </code></pre>
  
  <p>other than being different implementations of the same thing.
  Both appear to have all the basic features that one might need (<code>.count</code>, the ability to insert/remove objects etc.).</p>
  
  <p><code>NSMutableArray</code> was invented back in the Obj-C days, obviously to provide a more modern solution instead of the regular C-style arrays. But how does it compare to Swift's built-in array?</p>
  
  <p>Which one is safer and/or faster?</p>