~/talk

A Practical Guide to Elixir Protocols

Talkat ElixirConf EU 2017 · 2017-05-04..05-05· [large-language-models]
links:none on file
slides:none on file

Claims that Elixir protocols solve the expression problem by inserting a dispatch layer so new types can be added without changing existing functions and vice versa. Shows concrete tools: defprotocol/defimpl, fallback :any and @derive, inspects core protocols like String.Chars Collectable Inspect IEx.Info Enumerable and library uses such as Poison encoder/decoder and Scrivener paginate. Builds protocol implementations for structs and types and demonstrates they work at runtime on the BEAM.

AI-written summary · about

  1. 0:00Intro
  2. 1:26Types and Functions
  3. 3:20ObjectOriented Style
  4. 15:13Expression Problem
  5. 17:48Core Protocols
  6. 25:59ThirdParty Integration
  7. 28:19Protocol vs Behavior
~/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.