What Orwell's 1984 Can Teach Us about Programming
summary
Three Orwellian slogans map to concrete Scala techniques: war is peace becomes a war on effects using Option/Either/List plus Option/Either/List monads (flatMap/for‑comprehensions) to hide nulls, exceptions and multiplicity; freedom is slavery shows sealing ADTs and sealed ADTs and smart constructors so clients can’t build bad expressions and applicative map2 accumulates multiple error messages; ignorance is strength uses parametricity, Functor and a generic fuse/recursion‑scheme to combine translate+eval into a single one‑pass traversal that composes and compiles.
AI-written summary · about
chapters (10)
- 0:00Start
- 0:37Recap of the Book
- 10:14Exceptions
- 13:52Freedom Is Slavery
- 16:13Smart Constructors
- 23:51Duplicative
- 29:35Identity Function
- 37:21The Translation Function
- 39:39Function Interface
- 46:31Recursion
related talks
42mWhat Orwell's 1984 Can Teach Us about Programming
51mBifurcation Without Schism: The Scala Ecosystem
42mThe Structure of Programming Revolutions
01h 02mZen and the Art of Code Lifecycle Maintenance
52mProgramming is (should be) fun!
53mClosing Keynote
41mFunctional Happy Hour
49mMaking Our Future Better
