concept functional programming in category system administration

appears as: functional programming
Functional and Reactive Domain Modeling

This is an excerpt from Manning's book Functional and Reactive Domain Modeling.

When you implement a domain model, you translate the business processes into software. You try to make this translation in a way that results in the software resembling the original processes as much as possible. And to achieve this, you follow certain techniques and adopt paradigms in your design, development, and implementation. In this book, you’ll explore how to use a combination of functional programming (FP) and reactive modeling to deliver models that are responsive and scalable, yet easy to manage and maintain. This chapter introduces fundamental concepts of these two paradigms and explains how the combination works together to achieve responsiveness of the model.

These three pillars of functional programming are summarized in figure 1.9.

Figure 1.9. Referential transparency has a huge role to play in functional programming.

So far we’ve discussed the basic principles of functional programming that can help you engineer a better domain model—better in the sense that you can make your model

Imagine you’ve gone back to your school days and are trying to learn the definition of a function from the mathematical point of view. Because we’re discussing functional programming here, how different is this function from the one you learned in math class?