~/talk

Logic vs. side effects: functional goodness you don't hear about

links:none on file
slides:none on file

Argues that separating logic from side effects yields pure functions for testable, cacheable, parallelizable code and limits IO to a small interpreter. Uses C# examples: LINQ, immutable collections, Tasks as result wrappers, and a command‑line currency-rate demo that keeps a cache without mutation. Classifies four side effects and claims three can be eliminated (mutating args, exceptions-as-control, most global state) while IO is handled via dependency injection or free monads (stack‑safe, million‑call demo).

AI-written summary · about

  1. 0:00Start
  2. 5:47Functional Programming
  3. 7:53Safety the code does what you think it does
  4. 10:58Clarity
  5. 11:53Side effects
  6. 12:30Pure Functions
  7. 34:44The pattern
  8. 48:05Free monads
~/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.