Intro to OTP in Elixir

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

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

  • @krumbergify
    @krumbergify 3 หลายเดือนก่อน +2

    Fantastic presentation! I’m brand new to Elixir but I understood everything since it was so clear!
    I’m used to functional overloading based on argument types in C++, but I was surprised that Elixir has function overloading based on pattern matching!

  • @zachariahgoldberg6486
    @zachariahgoldberg6486 8 ปีที่แล้ว +52

    6:27 - "if this didn't fix it - I'm gonna kill myself"
    10/10

    • @elshekh.daniel
      @elshekh.daniel 20 วันที่ผ่านมา

      me every single day

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

    I’m just getting the hang of the Elixir syntax and was thinking to myself ”now, how do I do all that cool OTP stuff?”. And after watching this talk I’m ready to break new Elixir ground. Thanks for a great talk!

  • @FlameHue
    @FlameHue 8 ปีที่แล้ว +42

    Breath man, breath. I know you're nervous, but remember to breath.

    • @realchrisbutler
      @realchrisbutler 7 ปีที่แล้ว +2

      lol remember to breath

    • @batlin
      @batlin 7 ปีที่แล้ว +18

      Breathe man, breathe. I know you're nervous, but remember that "breath" is a noun and "breathe" is a verb.

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

    Great talk

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

    That GenServer reminds me of Redux library for JavaScript ;)

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

    My first time when I learned OTP it was weird.
    I think it took me to get used to the syntax.
    This explanation help me a lot, thank's!

  • @aion2177
    @aion2177 7 ปีที่แล้ว +1

    awesome stuff! Thank you :)

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

    Great talk man. Thanks :)

  • @wulymammoth
    @wulymammoth 8 ปีที่แล้ว +4

    Not bad, Jesse. But this is more just an intro to just one OTP behaviour (design pattern). I think you may have lost a couple of people by just gliding from your initial example to using GenServer. The primary reason is because GenServers are OTP-compliant and the developer gets a ton of things out of the box, like logging, whereas rolling your own does not. I think doing a live demo also would've been better. Elixir/Erlang allows the developer to almost always code the happy-path first which helps solidify the mantra of, "let it crash". If the room wasn't full of developers test-driving Elixir, then at least a note about pattern-matching and demonstrating it quickly would've been nice, too. But all-in-all a pretty good talk :)

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

      I wish I'd get such constructive feedback whenever I talk

  • @btc-btc-net
    @btc-btc-net 4 ปีที่แล้ว

    Great

  • @RichardMatthews.youtube
    @RichardMatthews.youtube 8 ปีที่แล้ว

    Awesome talk! I have one question around if you are storing your data in the process and that process is restarted, do you lose the data that had been stored?
    Thanks!

    • @tikkuboy
      @tikkuboy 7 ปีที่แล้ว

      'course you do. That' the point or retarting. the speaker did say "clean slate or clean state"

    • @arthurbruel5545
      @arthurbruel5545 5 ปีที่แล้ว

      Yes

  • @lzhedmitriy2719
    @lzhedmitriy2719 7 ปีที่แล้ว

    Everything that isn't Haskell is pure garbage.

    • @brangi
      @brangi 7 ปีที่แล้ว +2

      Why ?

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

      Needs to be on a t-shirt

    • @vertie2090
      @vertie2090 5 ปีที่แล้ว

      @@EricLouisYoung hahah I'd be the first one to buy that

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

      Bit over the top. but I would like OTP on Haskell (I know distributed exists but it's not maintained much). And I'd like a Haskell with lips macros and syntax. All of that together would be the perfect language