The Interpreter Pattern Revisited

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

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

  • @petrasoftresearch1301
    @petrasoftresearch1301 ปีที่แล้ว

    I literally pulled my GoF book off the shelf when you said and went to page 243 and followed along. I knew I needed this pattern, just didn't realize it was in GoF. Thanks for the video!

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

    thank you, Runar! This is a very HEALING idea that Monads was used by the GoF. Wonderfully fun for developers who have already learned the power of pure functional programming. But usually it is a subtle and sometimes religious argument. Here your audience gets the delightful irony of your discovery. (I laughed out loud) NOW create a presentation for the uninitiated that object-oriented and functional are just two edges of the same sword.

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

    At 25:44 - It says " Suspend[ F[ _ ], A ]( s: F[ Exp[F, A] ] ) ". Shouldn't that be " Suspend[ F[ _ ], A ]( s: F[ Free[F, A] ] ) ". The "Exp" was from the previous example.

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

    Excellent master class as well as FP Red Book, many thanks!

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

    Thanks

  • @JohnMichaelReed
    @JohnMichaelReed 8 ปีที่แล้ว +1

    Also, 25:36 - is should be " Not[A](a: A) " instead of " Not(a: A) " - the latter does not compile.
    Also, way back at the beginning, the parameters for scalaz state machine (where you define "Exp.interpret") are backwards - it is (String => (String, Boolean)), not (String => (Boolean, String)).

  • @JohnMichaelReed
    @JohnMichaelReed 8 ปีที่แล้ว +2

    That was amazing

  • @mohance
    @mohance 8 ปีที่แล้ว +1

    Awesome! Very thoughtful!, Is there any place where I can find the slides?

  • @funkmaster322
    @funkmaster322 4 ปีที่แล้ว +1

    This guy says some useful stuff but is trying too hard to be funny. Its super distracting.

    • @RIMJANESSOHMALOOG
      @RIMJANESSOHMALOOG 3 ปีที่แล้ว +2

      the audience is laughing where he's being serious