Algebraic Types in Scala???
If you have ever looked into Scala at any point you would’ve heard the term Algebraic Data Types
The goal here is to attempt to explain what that is since it’s kind of an obscure concept from an OO view point. Even though you could draw a parallel between algebraic types and Composition vs Inheritance, it’s not quite the same thing. So it’s worth while to try to understand ADT for what it is.
Read More