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.
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.
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!
The most amazing part of this talk is probably how many things you can express with Emma Stone ;)
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
What happened to elm? It had momentum and now it seems like it has died (no real updates in the last three years)
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
This guy has amazing/weird images in his slides.
TLDR
Static > Dynamic
Pure > Statefull
The html like sux big time :( HTML should look like html not an abstraction ...
+Nikolai Aleksandrenko But HTML is ugly lol
Programing is ugly ... so what? :)
And making an abstract non read friendly syntax of a 'ugly' language ... is batter in what way? :)
This is purely a matter of taste and habits.
There's elmx, like jsx in React.
HTML like that is perfectly readable. Use just not used to it.