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

Rainer
My first contact with Erlang was about 2 years ago when I used RabbitMQ, which is written in Erlang, for my job. This made me curious and...
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
Concurrent Data Processing in Elixir is now content complete and I finally found the time I’ve been looking for to dedicate behind readin...
New
rustkas
To be a more productive reader when rereading a book, it is very convenient to create small rebar3 projects based on books’ samples and i...
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
mafinar
TL;DR I am reading “Domain Modeling Made Functional” and discussing and keeping a journal of what I learned from it, any co-readers welco...
New
AstonJ
With AI set to play a big role in our industry Elixir users are lucky to have Nx, so we’re running our Nx related book club on Genetic Al...
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
alvinkatojr
https://fs.blog/mental-models/ I’ve been reading Farnham Street for a while, and this topic is the recommended starting point for new re...
New

Other popular topics Top

PragmaticBookshelf
Free and open source software is the default choice for the technologies that run our world, and it’s built and maintained by people like...
New
PragmaticBookshelf
Write Elixir tests that you can be proud of. Dive into Elixir’s test philosophy and gain mastery over the terminology and concepts that u...
New
PragmaticBookshelf
Design and develop sophisticated 2D games that are as much fun to make as they are to play. From particle effects and pathfinding to soci...
New
PragmaticBookshelf
From finance to artificial intelligence, genetic algorithms are a powerful tool with a wide array of applications. But you don't need an ...
New
AstonJ
Just done a fresh install of macOS Big Sur and on installing Erlang I am getting: asdf install erlang 23.1.2 Configure failed. checking ...
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
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
Build highly interactive applications without ever leaving Elixir, the way the experts do. Let LiveView take care of performance, scalabi...
New
PragmaticBookshelf
Fight complexity and reclaim the original spirit of agility by learning to simplify how you develop software. The result: a more humane a...
New