Immutability Against The Machine
summary
Argument: model an entire app by composing immutable values that represent programs rather than mutating state. Live code shows Python and Scala REPLs, Apache Jena calling Wikidata SPARQL, and concrete types like IO of List, sequencing and flatMap to transform without running, then Resource.use for safe acquisition and parSequence for parallel calls. Built a terminal travel‑guide that looks up an attraction and returns movies, it runs successfully subject to Wikidata’s ~5 rps rate limit.
AI-written summary · about
chapters (10)
- 0:00Introduction
- 2:09Learn from other paradigms
- 7:49Tools shape programming thinking
- 14:40Error handling with immutability
- 21:03Side effects as immutable values
- 28:00Travel guide app with immutability
- 35:45Advanced real-world techniques
- 40:41Resource safety and concurrency
- 42:25Three key takeaways
- 44:10Q&A
related talks
32mDesigning With Immutability
30mOvercoming GIL with subinterpreters and immutability
50mFunctional Programming in SCALA
49mUntitled13.ipynb
46mIntroduction to Scala
27mFunctional Programming for Pythonistas
40mCreating Interactive GenAI applications powered by Streamlit, open source LLMs
27mCoding Competition Software VS Murphy's Law
