Programming, Functional Programming, Scala, Tutorial, Venkat Subramaniam.
class to represent a stock and its price (case classes are useful to create immutable instances in Scala that provide quite a few benefits, especially ease in pattern matching, a common functional style you’ll see explored in depth in Chapter 10, ​Patterns and Transformations in Elixir​). ​ case