~/talk

Functional Programming is Terrible

Talkat Northeast Scala Symposium 2014 · 2014-03-01..03-02· [scala]
slides:none on file

Argues that Scala forces workarounds for pure FP: no general tail-call elimination in Scala, so composing many functions needs trampolines with memory and CPU overhead that hurt performance; higher-kinded types require manual kind annotations or ugly Lambda/unapply hacks (State[A,S] can’t be partially applied); lack of kind/type inference, boxed function objects, and missing existential/universal types force boilerplate. Recommends tail-call bytecode, kind inference and better type inference; nevertheless modularity, compositionality and reduced cognitive load make FP worth it.

AI-written summary · about

  1. 0:00Intro
  2. 2:53Tail recursion
  3. 3:45Inter-method tail calls
  4. 4:23Tail calls in FP
  5. 5:34Trampolines
  6. 10:03Kinds
  7. 12:34Applicative functors
  8. 13:15Code reuse?
  9. 14:29Currying?
  10. 15:07Unapply
  11. 17:27FP made less terrible
  12. 19:44is FP just a hair shirt?
  13. 20:59Modularity
  14. 22:07Functions are modular
  15. 23:10Compositionality
  16. 24:11Functions are compositional
  17. 26:10FP = Happiness
  18. 30:02Summary
~/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.