3 ms·
Can you share some examples, please?
by xwowsersx 5y ago
Can you share some examples, please?
- BoiledCabbage 5y agoFunny enough someone actually wrote a book on it. Data Modeling Made Functional https://www.amazon.com/Domain-Modeling-Made-Functional-Domain-Driven/dp/1680502549 https://www.amazon.com/Domain-Modeling-Made-Functional-Domai... It's one of the better and more useful software engineering books I've read. Even if you don't use a functional programming langauge. It's about using Algebraic Data Types do model common problems in the day-to-day business domain (not typical academic problems). It's a really simple and awesome presentation, and by the end you're dying for the ability to use this more so in the day to day job. Honestly after reading through it, trying to model problems in OOP just seems so unnecessarily obtuse. The Scott Wlaschin also runs https://fsharpforfunandprofit.com https://fsharpforfunandprofit.com https://fsharpforfunandprofit.com/ddd/ https://fsharpforfunandprofit.com/ddd/ - a link to a talk on it which is decent, but the book is much better.
- xwowsersx 5y agoThanks. I was asking specifically about accomplishing this in Python.