O'Reilly logo

Functional and Reactive Domain Modeling by Debasish Ghosh

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required