Back to the bookshelf

Typographic jacket · original cover not fetched

FROM THE SHARED SHELF · 2006–2026 SAMPLE

Domain Modeling Made Functional

Scott Wlaschin

4 readers recommend it across 4 discussions

Topics are model-inferred labels.

Keep it on your reading list

THE WORD OF MOUTH

What made it worth passing on?

Original Hacker News comments, in the readers’ own words.

tacotacotaco
This sounds like "Domain Modelling Made Functional" by Scott Wlaschin, maybe? It walks through the software development process of automating a small business starting with requirements gathering, a valuable step that is often overlooked in programming books. It uses F# but I think anyone familiar with a typed language should be fine, and the info can be applied to any functional language. It uses the type system to great effect to enforce business requirements. I've recommended this book to at least five colleagues in the past year. Very good!
james_s_tayler
Do you have a good example of a reference architecture or implementation of a non-trivial system you can point me to? I've recently gotten a copy of the book Domain Modelling Made Functional. I'm yet to read it, but I'm pretty intrigued by some of what I've seen and I have heard it comes highly recommend. I'd be very keen to hear of other high quality examples of things people consider good reference material.
whb07
"Domain Modeling Made Functional" by Scott Wlaschin* Talk about a great book from cover to cover! Functional language evangelists are always ranting about types and their usefulness but fail to concretely convey how and why they can help. In this book Scott uses F#, but it applies to the broader range functional languages with a strong type system like Haskell, OCaml, Scala etc. The main thread of the book is building an ecommerce shop of and he begins at the base foundation what the "business" needs and how it can be modeled using the type system to carefully detail and build on the idea of making "illegal states unrepresentable". Highly recommended as it shows that the author has spent quite a bit of thought on conveying the useful ideas and being concise in explaining them. If you're new to the world of functional programming it does a great job of explaining the concepts and how to use them. For the experts, it specifically helps you be aware of better modeling around types. * https://pragprog.com/book/swdddf/domain-modeling-made-functi... (https://pragprog.com/book/swdddf/domain-modeling-made-functional)