~/talk

From `goto` Statements to Recursion Schemes

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

Claims that extracting recursion patterns yields more correct, fusible, and reusable code, demonstrated by the Scala library matryoshka which encodes schemes like catamorphism, anamorphism, paramorphism and hylomorphism. The uploader notes the codebase enables a wart that warns on explicit recursion. Recursion schemes provide monadic variants for error handling and fusion to avoid multiple traversals; some implementations are not stack-safe, so adoption sometimes costs extra thought even when it simplifies reasoning and performance.

AI-written summary · about

  1. 0:00Intro
  2. 1:20Unstructured Programming
  3. 6:20Common Patterns
  4. 8:30Recursion Patterns
  5. 10:20Notation
  6. 12:32Animorphs
  7. 16:38Recursion Schemes
  8. 20:35Conclusion
~/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.