The Reader Monad for Dependency Injection

Поділитися
Вставка
  • Опубліковано 18 січ 2025

КОМЕНТАРІ • 4

  • @PeterPerhac
    @PeterPerhac 8 років тому +4

    This is really good stuff. I am watching over and over again. Is there a reference implementation of this available anywhere? A sample project to download, so I can navigate around the code in my IDE and fully get my head around how this is meant to be implemented? I very much like this idea, but can only see small snippets of code in slides, and not the whole thing. Would like to get a glimpse of the "bigger picture" including the suggestion from audience to have a reader for the execution context in your environment. Can you point me in the direction of a project (on github/etc) that implements these ideas?

  • @channel-ug9gt
    @channel-ug9gt 8 років тому +1

    Pros and cons as compared to cake pattern ?

    • @wealcome_company
      @wealcome_company 8 років тому +1

      A lot of boilerplate for cake pattern compared to Reader monad.
      Here's an article, from the author of this video, comparing strategies:
      blog.originate.com/blog/2013/10/21/reader-monad-for-dependency-injection/

    • @OverG88
      @OverG88 7 років тому +3

      Does cake pattern have any pro? ell oh ell