CoRecursive: Coding Stories

Tech Talk: Domain Driven Design meets Functional Programming

Jan 22, 2018
Ask episode
AI Snips
Chapters
Transcript
Episode notes
ANECDOTE

From OOP to Functional DDD

  • Debashish Ghosh shared his experience modelling a complex financial security system using Java before exploring functional programming.
  • Later, adopting Scala and functional programming principles led to better domain model modularity and reliability.
INSIGHT

Focus on Behavior Algebra

  • Start domain modelling by defining the algebra of behaviors, focusing on contracts rather than implementation.
  • Modularize and compose these behaviors semantically to build complex domain models.
INSIGHT

Algebra Defines Abstract Laws

  • An algebra defines data types, operations, and the laws they honor, independent of implementation.
  • Laws make algebras verifiable and reusable, increasing modularity and reliability.
Get the Snipd Podcast app to discover more snips from this episode
Get the app