title: How to initialize multiple variables of some type in one line
body: <p>I want to achieve something like</p>
  
  <pre><code>var a, b, c: MyType = MyType()
  </code></pre>
  
  <p>but this line doesn't compile because compiler treats the type annotation <code>MyType</code> is only for variable <code>c</code> thus <code>a</code> and <code>b</code> are missing either type annotation or a initial value for type inference.</p>
  
  <p>Both of followings are legal :
  </p>
  
  <pre><code>// legal but verbose
  var a = MyType()
  var b = MyType()
  var c = MyType()
  
  // legal but verbose to initialize
  var a, b, c: MyType
  a = MyType()
  b = MyType()
  c = MyType()
  </code></pre>
  
  <p>These two styles I can think of are both legal but somehow verbose, especially if there are dozens of variables of same type.</p>
  
  <p>Is there any elegant way to achieve this?</p>