The Power of Composition - Scott Wlaschin

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

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

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

    I love how I've watched three of his lectures, and he's used the same jokes in each of those! Brilliant lectures each!

  • @arisweedler4703
    @arisweedler4703 2 ปีที่แล้ว

    Last half hour of this is fantastic even if you are already familiar with FP

  • @ClaudioSousa0
    @ClaudioSousa0 6 ปีที่แล้ว +1

    Excellent illustrations and analogies!

  • @SiddharthKulkarniN
    @SiddharthKulkarniN 6 ปีที่แล้ว +4

    Scott is an amazing engineer

  • @ecosta
    @ecosta 3 ปีที่แล้ว

    I wish someone cleaned the audio a little bit more to remove Scott breathing sounds. He always gives the best lectures about fundaments of functional programming, and it is a waste to see people not watching it because his audio was not tuned properly.

  • @striker865
    @striker865 6 ปีที่แล้ว +2

    Awesome, learned a lot!

  • @matsalritzson3492
    @matsalritzson3492 3 ปีที่แล้ว

    This is brilliant.

  • @sashang0
    @sashang0 6 ปีที่แล้ว +2

    @45:30 I've learnt a lot from Scott's web page but I think this railway analogy is misleading in this case. A function only ever has one output otherwise it wouldn't be a function. In this case the output is of type CarbonatedResult. A function maps a value from the domain to a single value in the range, and this function is doing that. It's not mapping a single value to multiple values in the range.

    • @dcuccia
      @dcuccia 6 ปีที่แล้ว

      @sashang0 th-cam.com/video/srQt1NAHYC0/w-d-xo.htmlm30s

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

      I thought about this as well, very confusing. There is only one input and one output! A better visualization of this would be to have the tracks branching inside the bind function (where the actual branching occurs).

    • @kitkarson4226
      @kitkarson4226 11 หลายเดือนก่อน

      Not misleading. It is clear. It is either type.

  • @svorskemattias
    @svorskemattias 3 ปีที่แล้ว

    I tested your game on zero and then all the negative numbers and it didn't result in 2. :( I've tried an infinite number of numbers without success.

  • @stevehoff
    @stevehoff 6 ปีที่แล้ว +2

    Couldn't watch it all. Wanted to gag from listening to this guy sneaking and swallowing his spit

    • @linhe6729
      @linhe6729 6 ปีที่แล้ว

      Hopefully his book will make you feel better . pragprog.com/book/swdddf/domain-modeling-made-functional