Skip to content

Functional life cycles for state management during interactive development

Photo of Jean-Louis Giordano
Hosted By
Jean-Louis G. and Johan L.
Functional life cycles for state management during interactive development

Details

In this presentation Johan Lodin will walk through the process of refactoring `component` into a library using nothing but functions as abstractions.

In 2014 Stuart Sierra released `component`--a library to manage state during interactive development. It solved a problem that many craved a solution for, but not everyone agrees on the design choices made in `component`, and this spawned a class of new libraries (see https://github.com/stuartsierra/component/wiki/Related-Work). This presentation can be seen as one of them. I will make a quick introduction to `component`, but you might get even more out of this meetup if you have watched Stuart Sierra's presentation first: https://www.youtube.com/watch?v=13cmHf_kt-Q.

But the presentation is not really about solving the state management problem. It's more a story of how you can design things if you fully embrace functions as your primary tool, so I aim for this presentation to be interesting to any programmer in a dynamic language with first-class functions and immutable data structures.

Photo of Got.λ - Göteborg Functional Programming Group group
Got.λ - Göteborg Functional Programming Group
See more events