Effects as Data | Richard Feldman | Reactive 2015

Поділитися
Вставка
  • Опубліковано 6 лют 2025
  • Imagine a world without side effects, where the only way to make things happen was to call functions whose return values described what you wanted done. What gets easier in that world? What gets harder? What would that mean for debugging? Testing?
    We don't have to wonder about these things, because this world already exists - and it compiles to JavaScript. It's the world of Elm, where there are no side effects, all functions are stateless, and all data is immutable. Elm embraces the concepts that make reactive programming great, and goes one step further to shed the error‐prone mutations and side effects that so often lead to incidental complexity and buggy code.
    NoRedInk has reaped the benefits of this approach since they began using Elm in production earlier in 2015. It's helped them scale and maintain a complex front-end code base that students use to answer millions of questions per day. Come see how refreshing this world can be!
    Richard is the creator of seamless-immutable and Dreamwriter, and coauthor of Developing a React Edge. Richard leads the front-end team at NoRedInk, where he introduced React, then Flux, and now Elm to their production stack.

КОМЕНТАРІ • 14

  • @cupajoesir
    @cupajoesir 7 років тому +6

    There are not words to describe how awesome this video is. This completely explains why elm is the better paradigm. Fantastic talk and endless thanks for posting this.

  • @hamnonox
    @hamnonox 8 років тому +3

    Huh. After watching this, I finally understand what Elm Architecture is doing enough that I can see maybe implementing its functionality in another language. Win!

  • @retiredcanadianpoet
    @retiredcanadianpoet 9 років тому +6

    The most amazing part of this talk is probably how many things you can express with Emma Stone ;)

  • @dharmaturtle
    @dharmaturtle 3 роки тому +2

    As of 0.17, "Action" has been renamed to "Msg" and "Effects" has been renamed to "Cmd"
    See: github.com/elm-lang/elm-platform/blob/master/upgrade-docs/0.17.md#action-is-now-msg

  • @ikbo
    @ikbo 3 роки тому +1

    What happened to elm? It had momentum and now it seems like it has died (no real updates in the last three years)

    • @masynchin
      @masynchin 2 роки тому

      I am also interested in why Elm is not developed. So, instead of Elm I choose PureScript. Hope work on Elm will be continued and we wi have anither alternative to JS

  • @nyfaniloandrianjafy8171
    @nyfaniloandrianjafy8171 9 років тому +3

    This guy has amazing/weird images in his slides.

  • @DisfigurmentOfUs
    @DisfigurmentOfUs 9 років тому +6

    TLDR
    Static > Dynamic
    Pure > Statefull

  • @NikolaiAleksandrenko
    @NikolaiAleksandrenko 8 років тому

    The html like sux big time :( HTML should look like html not an abstraction ...

    • @oscar7557
      @oscar7557 8 років тому +5

      +Nikolai Aleksandrenko But HTML is ugly lol

    • @NikolaiAleksandrenko
      @NikolaiAleksandrenko 8 років тому

      Programing is ugly ... so what? :)
      And making an abstract non read friendly syntax of a 'ugly' language ... is batter in what way? :)

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

      This is purely a matter of taste and habits.

    • @Will-tb8qm
      @Will-tb8qm 8 років тому +1

      There's elmx, like jsx in React.

    • @etodemerzel2627
      @etodemerzel2627 3 роки тому +1

      HTML like that is perfectly readable. Use just not used to it.