~/talk

What Referential Transparency can do for you

Talkat Scala.IO 2017 · 2017-11-02..11-03· [scala, functional-programming]
slides:none on file

Argues that referential transparency buys concrete benefits: easier testing, memoization, automatic parallelization and compiler optimizations; demonstrates a hand‑rolled IO monad (shows deferred side effects but warns about stack‑safety and missing resource guarantees), then points to real solutions—cats effect, Monix Task, FS2—that add cancellation, finalizers and streams; shows Futures break referential transparency and recommends wrapping them; outcomes are working toy examples plus measured tradeoffs and clear migration paths to production libraries.

AI-written summary · about

  1. 0:00Introduction
  2. 1:00What is referential transparency
  3. 1:43Side effects
  4. 6:30Testability
  5. 9:00Optimizations
  6. 14:41The Nother Problem
  7. 21:17Monads
  8. 25:41Conclusion
~/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.