~/talk

What Orwell's 1984 Can Teach Us about Programming

Talkat Scala.IO 2017 · 2017-11-02..11-03· [soft-skills]
slides:none on file

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

  1. 0:00Start
  2. 0:37Recap of the Book
  3. 10:14Exceptions
  4. 13:52Freedom Is Slavery
  5. 16:13Smart Constructors
  6. 23:51Duplicative
  7. 29:35Identity Function
  8. 37:21The Translation Function
  9. 39:39Function Interface
  10. 46:31Recursion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.