Case Classes - Scala Documentation

Case classes are like regular classes with a few key differences which we will go over. Case classes are good for modeling immutable data. In the next step of the tour, we’ll see how they are useful in pattern matching.

This is a companion discussion topic for the original entry at