Maciej Kaszubowski - Modular Design in Elixir - ElixirConf EU 2019

แชร์
ฝัง
  • เผยแพร่เมื่อ 10 พ.ย. 2024

ความคิดเห็น • 6

  • @nicholasmontano7172
    @nicholasmontano7172 5 ปีที่แล้ว +5

    I like this a lot! 30mins in, so maybe you already say this, but my big summary takeaway from this is: Anytime you use conditional logic in a context, ask yourself if there should be new contexts that encapsulate those different conditions.
    This goes well with Sandy Metz design philosophy of conditional logic being a code smell.

    • @hilkob796
      @hilkob796 4 ปีที่แล้ว

      Thanks for this comment! I've learned that conditional logic can be a major PITA and try to avoid it, but I often find myself wondering what the best way to do this is. I found this talk very helpful in that it not only showed one possible solution, but walked through a 'real-world' case.

  • @envueltoenplastico
    @envueltoenplastico 3 ปีที่แล้ว +1

    I think a repository showcasing this style would be a great reference.

  • @jakublambrych4522
    @jakublambrych4522 5 หลายเดือนก่อน

    Great stuff! I really like the design of the example problem in the presentation with increasing complexity. One question: in the scenario presented - what happens to a job from JobPublishing after it has been published to JobBoard? Is it deleted from JobPublishing/jobs table?

  • @nimrodwandera7085
    @nimrodwandera7085 5 ปีที่แล้ว +3

    This is an amazing talk. Thanks Maciej!

  • @ColossusPush
    @ColossusPush 5 ปีที่แล้ว +1

    king