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

finner
As one of my New Year resolutions is to read more tech I’ve decided on an attempt to document my travels in Mannings Modern Java in Actio...
New
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
Crystal recently reached version 1. I had been following it for awhile but never got to really learn it. Most languages I picked up out o...
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
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
rgerardi
Hello all. Creating this space here for general discussion and chat about Powerful Command-Line Applications In Go In particular, we ca...
New
AstonJ
With Tailwind now the default CSS framework shipped with Phoenix we thought it would be nice to run this book club on the Elixir Forum. ...
New
PragmaticBookshelf
When the pandemic, heart disease, and personal tragedy threatened to steal everything the Tates spent years building, they found hope, he...
New
TomMahon
How did a sleepy valley become the epicenter of the technological world as we know it? In the 40th Anniversary Edition of my book, “Charg...
New

Other popular topics Top

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
AstonJ
In case anyone else is wondering why Ruby 3 doesn’t show when you do asdf list-all ruby :man_facepalming: do this first: asdf plugin-upd...
New
PragmaticBookshelf
Learn different ways of writing concurrent code in Elixir and increase your application's performance, without sacrificing scalability or...
New
AstonJ
Continuing the discussion from Thinking about learning Crystal, let’s discuss - I was wondering which languages don’t GC - maybe we can c...
New
rustkas
Intensively researching Erlang books and additional resources on it, I have found that the topic of using Regular Expressions is either c...
New
New
PragmaticBookshelf
Programming Ruby is the most complete book on Ruby, covering both the language itself and the standard library as well as commonly used t...
New
AstonJ
Curious what kind of results others are getting, I think actually prefer the 7B model to the 32B model, not only is it faster but the qua...
New
NewsBot
Node.js v22.14.0 has been released. Link: Release 2025-02-11, Version 22.14.0 'Jod' (LTS), @aduh95 · nodejs/node · GitHub
New
Fl4m3Ph03n1x
Background Lately I am in a quest to find a good quality TTS ai generation tool to run locally in order to create audio for some videos I...
New