title: Initializing Generic Variables in Scala
body: <p>How do I declare a generic variable in Scala without initializing it (or initializing to any value)? </p>
  
  <pre><code>def foo[T] {
     var t: T = ???? // tried _, null
     t
  }
  </code></pre>