YOW! Lambda Jam 2017 Ben Kolera - Reading the Typed TEA Leaves: A comparison of Elm and Halogen

Thanks! Share it with your friends!

You disliked this video. Thanks for the feedback!

Added by admin
The redux architecture seems to have really won over the React community, which is awesome to see because it was inspired by a purely functional, typesafe language called Elm.

This talk will quickly look at ‘The Elm Architecture’ (TEA) and explain why the shape of the architecture works so well to create purely functional HTML UIs. This language / architecture has been very popular with JS devs and is worthwhile taking a peek at this typesafe thing that is capturing the attention of mainstream developers.

TEA is limited by it’s intentional anti-modularisation of the program state and update commands. The bulk of this talk will look at a purescript library called Halogen and how it takes TEA to a modular and typesafe state with components only having localised state and communicate only via explicit messages sent between components.

This intention of this talk is not to posture one as better than the other, but to talk about the shapes of each and why one or both may be worth your interest. Even if neither quite work for your use cases, it is still very useful to understand where people are pushing the bounds of typesafe SPAs.

Ben works for a Brisbane-based company called Ephox that specialises in helping people author great content on the web (via our editors TinyMCE and Textbox). At Ephox he is the Team Lead for the team that uses functional programming to create server side editor components (like spellchecking, file storage, etc) and is responsible for making AWS behave.

A full-stack web developer by trade, he is passionate about figuring out how to use types and functional programming to make the web (and all the ops that come with a webapp) more reliable, more scalable and more safely composable.

For more on YOW! Lambda Jam, visit http://lamdajam.yowconference.com.au
YOW! Lambda 2017

Post your comment