mafinar

mafinar

Book club - Domain Modeling Made Functional

TL;DR I am reading “Domain Modeling Made Functional” and discussing and keeping a journal of what I learned from it, any co-readers welcome because the topic alone is so interesting that I will get 4 times the fun if we chat about things here! F# or not, this is amazingly well-written and useful!

Here is the link (PragProg)

Hello! I’m back. This is something I’ve been trying to do for awhile now. Domain Modeling Made Functional is one of the best books I have read on the topic. I read it when it got out but I did not know F# nor had I any interested in it, so I just read the concepts and translated whatever I felt I earned into Elixir or Python, or JS depending on what I was in the mood for on that day.

During my (along with a friend’s) stunt of #100DaysOfCodeIn100Languages (started as a joke, got serious, now back a joke) I encountered F# on day/language 13, and I enjoyed solving the problem with it (I had C# earlier that had similar effect but not a saga-breaking one like F# had), I recalled I have a book on it so decided to give it another read.

I picked the book up two weeks ago while travelling to Alberta, and ended up spending 3 of the 4 hours on aeroplane reading it, thoroughly impressed and enlightened! I felt like it would be more effective if done at a much slower pace, on different reference project, and discussing with friends! So here I am, having my third (second one didn’t fail, I will continue it soon) book club in this group.

The routine’s regular, I read a chapter or two, and talk about what I learned and how it would influence how I reason about a unit of code that does something. If you join me, that’d help me more! Eitherways, I’ll treat it as a set of side-notes or scribble which would help me when I refactor a deserving monolith or give my next talk on DDD (It already helped in my 2018 PyCon Canada session).

I will reset and restart from chapter 1 here, starting right now!

Most Liked

Erica

Erica

Author of Swift Style

We’re excited to see these book clubs. Sending cheers from Prag!

mafinar

mafinar

As far as translation is concerned, maybe not 1:1 but a lot of ideas could be explained through Elixir in a more idiomatic way. This is what we shall figure out it seems :wink:

mafinar

mafinar

Ah I was searching for this thread. I ended up learning F# and loved it. So didn’t get to translate. Once I am done with the other book club on concurrent Elixir I’ll be back here treating it with Elixir.

Where Next?

Popular Community topics Top

Tommy
So I have enough money to last a year. Realistically I’m still going to have to work part time painting. I’m so done with it though! I h...
New
mafinar
I am going to dump my thoughts, methods, codes, experiences and rants while learning OCaml into this thread. This is probably the 5th or...
New
RobertKielty
My overall initial first impressions of this book are very good. I will document my local spacemacs setup to as I work through the book.
New
Maartz
The very first time I’ve seen a line of Elixir I was in awe. Coming from Ruby the syntax was familiar. But I wanted to know what was thi...
New
ohm
I would love to begin a book club with Mike Amundsen’s (@mamund) book Design and Build Great Web APIs. It seems that building new syste...
New
TwistingTwists
This is my Journal for readings on Designing Elixir Systems with OTP. Will post chapter 01 tomorrow! Stay tuned!
New
ggarnier
In Aborting Multiple Fetch Requests with One Signal section, the code in abort/abort_ex09.js doesn’t show the downloaded images until Pro...
New
rgerardi
Hello all. Creating this space here for general discussion and chat about Powerful Command-Line Applications In Go In particular, we ca...
New
adamaiken89
Anyone is interested in a classical textbook for algorithms can go and check that.
New
PragmaticBookshelf
When the pandemic, heart disease, and personal tragedy threatened to steal everything the Tates spent years building, they found hope, he...
New

Other popular topics Top

Exadra37
I am thinking in building or buy a desktop computer for programing, both professionally and on my free time, and my choice of OS is Linux...
New
AstonJ
I ended up cancelling my Moonlander order as I think it’s just going to be a bit too bulky for me. I think the Planck and the Preonic (o...
New
AstonJ
This looks like a stunning keycap set :orange_heart: A LEGENDARY KEYBOARD LIVES ON When you bought an Apple Macintosh computer in the e...
New
Exadra37
I am asking for any distro that only has the bare-bones to be able to get a shell in the server and then just install the packages as we ...
New
PragmaticBookshelf
Build highly interactive applications without ever leaving Elixir, the way the experts do. Let LiveView take care of performance, scalabi...
New
New
mafinar
This is going to be a long an frequently posted thread. While talking to a friend of mine who has taken data structure and algorithm cou...
New
New
New
AstonJ
If you’re getting errors like this: psql: error: connection to server on socket “/tmp/.s.PGSQL.5432” failed: No such file or directory ...
New