Feedback for "DDD Chapter 5: Implementing Simple Business Logic - Part 1"

I only skimmed over it, because TBH 20+ minutes on transaction script is a lot to ask - but also I’m probably not a target audience. Here are my comments:

  • The usage of Elixir seems largely irrelevant. You just use Ecto as a database connection proxy, but actually you run SQL statements as strings.
    • But kudos for using Repo.transact over Repo.transaction
  • The central section on how database transactions work IMO blur the message about the design pattern and where to use it
  • The final section with the paper and metrics… I did not catch what the message is. There are some numbers, some “system before adapting transaction script” (but what was the system using before?). The conclusion seems to be that transaction script is bad (?; but then again - compared to what?).
  • Transaction script as anti-corruption layer? This got me intrigued. But it was just mentioned.
  • Overall this feels AI-generated