Showing items from adt

ADTs in Scala (Part 2: ADTs vs OO-Classes)

In my latest post I presented ADTs in Scala 3. I also created a Youtube video about it (check it out here). Since the content was longer, I split it in three parts. This is the second part. We look at the differences between classes and ADTs. We discuss: Immutability Inheritance Public and private fields Methods Pattern matching This video is an introduction to ADTs in Scala for object-oriented developers.

Continue Reading