Elm language for learning functional programming
summary
Claims that Elm compiles to JavaScript for web apps, uses the Elm Architecture (model → view → update with a runtime for side effects), and enforces exhaustive pattern matching so no runtime errors and no null/undefined. Shows concrete tools: JSON decoders, HTTP commands, and the Maybe type for sanitizing input. Demonstrates a working counter example and an elm survey app built for the session, and reports that the compiler forces handling of success and failure paths.
AI-written summary · about
chapters (10)
- 0:00Introduction and motivation
- 3:20Why learn functional programming
- 9:30What is Elm language
- 14:12Elm vs Haskell and JavaScript
- 18:51Elm Architecture demo
- 22:04No runtime errors promise
- 26:41Elm versus TypeScript
- 30:51Functional libraries in TypeScript
- 31:35Alternatives to Elm
- 33:22Learning resources and conclusion
