Chapter 2. Scala for functional domain models

This chapter covers

  • Understanding why Scala is one of the better languages for domain modeling
  • Understanding the benefits of domain modeling using a statically typed language
  • Combining the OO and FP power of Scala to achieve modular and pure models

Now that you’re familiar with the basic concepts of functional and reactive domain modeling, how will you go about implementing such a model? And when you think about implementation, you must think about which language to use. Many languages provide enough power to implement expressive domain models. This book uses Scala, an object-functional language that’s statically typed, runs on the Java virtual machine (JVM), and offers excellent interoperability ...

Get Functional and Reactive Domain Modeling now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.