title: Scala - use cases for tuples?
body: <p>In Scala, what are the use cases for tuples? In particular why would I use a tuple instead of creating a case class?</p>
  
  <p><em>example</em></p>
  
  <pre><code>type Average = Double
  type Median = Double
  type Quantile = Double
  type Min = Double
  type Max = Double
  type StdDev = Double
  
  def stats(times: Seq[Int]): (Average, Median, Quantile, Min, Max, StdDev)
  </code></pre>
  
  <p>vs</p>
  
  <pre><code>case class StatResults(average: Double, median: Double, quantile: Double, min: Double, max: Double, stdDev: Double)
  
  def stats(times: Seq[Int]): StatResults
  </code></pre>