~/talk

A safer Elixir

Talkat ElixirConf EU 2021 · 2021-09-09..09-10· [software-architecture]
links:none on file
slides:none on file

Shows how Mix and compiler options actually catch bugs by example: enabling warnings as errors makes unused variables and non‑existent function calls fail compilation; pattern matching plus guards turn a fragile greet function into exhaustive pattern matching that returns clear fallbacks; switching maps to structs produces compile‑time errors for typos. Recommends enabling checks in CI (local noise risk) and notes compile cost only becomes noticeable after roughly 100–300 structs, but the errors reliably prevent many runtime regressions.

AI-written summary · about

  1. 0:00Introduction to safer Elixir
  2. 2:06Compiler and build settings
  3. 6:55Pattern matching and guards
  4. 16:02Benefits of using structs
  5. 20:28Summary of safety techniques
  6. 26:04Caveats and considerations
  7. 31:26Q&A and closing remarks
~/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.