Making Impossible States Impossible with Elm's Types
elm-conf · Talk · YouTube title: "Making Impossible States Impossible" by Richard Feldman
Why it's here
HN repeatedly recommends it as a talk that changed how people model data, with ideas that apply well beyond Elm to any typed language.
What it covers
Richard Feldman's elm-conf talk on designing models so that bugs from impossible application states cannot occur, using Elm's compiler and types. It demonstrates techniques for making invalid states unrepresentable.