title: Swift. When should you define an Object / Value with specific data type
body: <p>As I started developing with Swift and searching through different tutorials and documentations about the language, I'm not sure about one thing.
  You can declare an object / value with a specific data type like this:</p>
  
  <pre><code>var aString:String = "Test"
  var anObject:SKScene = ASceneClass()
  </code></pre>
  
  <p>Or you can just do it like this:</p>
  
  <pre><code>var aString = "Test"
  var anObject = ASceneClass()
  </code></pre>
  
  <p>The result will be exactly the same (ASceneClass inherits from SKScene of course)</p>
  
  <p>As everyone is doing it different I wonder if there's a logical reason behind it or you do it for readability ?</p>