~/talk

How Functional is Direct-Style?

Talkat The Scala Workshop 2025 · on Sunday, 2025-10-12· [scala]
slides:none on file

Argues that direct-style in Scala is casually functional rather than purely functional, and demonstrates a working proof-of-concept library ox (open source, 0.x release) that provides parallel/run, race, timeouts, a structured concurrency supervised block, a use-style resource helper, streaming APIs compatible with FS2/Akka, and an error model using exceptions for bugs plus Either for recoverable errors. Claims trade-offs: keeps low learning curve and non‑viral types but sacrifices referential transparency and compiler‑enforced safe resource handling.

AI-written summary · about

  1. 0:00Introduction
  2. 1:02Defining functional programming
  3. 3:06Casual vs pure FP
  4. 7:01Direct-style programming
  5. 9:32Direct-style in Scala
  6. 13:46Benefits of functional effects
  7. 14:48Introducing Ox library
  8. 18:45Conclusion and trade-offs
  9. 20:12Q&A
~/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.