~/talk

ADTs For The Win!

slides:none on file

Covers concrete ADT code: shows Option and List from Scala 2.12 as sealed coproducts, models JSON as a sealed trait with specific case classes, and implements a fold as single entrypoint pattern (examples for Option and JSON) so every consumer must handle every case. Builds a full red‑black tree implementation with insert, member and a pattern‑match driven balance function that preserves invariants, and recommends use compiler warnings as errors to catch non‑exhaustive handling.

AI-written summary · about

  1. 0:00Intro
  2. 0:24Noels introduction
  3. 1:46Agenda
  4. 2:24What does Wikipedia say
  5. 3:02Counting values
  6. 4:57John Pretty
  7. 8:57algebraic
  8. 11:11list
  9. 14:21Mark all states
  10. 15:51Folding
  11. 18:26Options
  12. 19:29JSON
  13. 20:30Why
  14. 23:08RedBlack Trees
  15. 26:59Inserting Elements
  16. 29:18Balancing The Tree
  17. 33:13Summary
~/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.