• Avoid non-exhaustive matching, because this can lead to unanticipated run-time exceptions for non-matches.
  • Order of pattern cases matters for overlapping – patterns cases are evaluated sequentially.