Learn About Scala's Case Classes and Built-in Extractor Functions
Case classes in Scala are very handy because they have build extractor capability and other free features.
We can define a case class and then use it conveniently in the code:
import scala.collection.mutable
case class MyFeature(a: Int, b: Int, c: I...
martianov.dev2 min read