~/talk

Explicit Elixir

Talkat ElixirDaze 2016 · on Friday, 2016-03-04· [developer-experience]
name:Paul Lamb
links:none on file
slides:none on file

A pragmatic case for making code explicit: a modified Luhn credit‑card validator from Rosetta Code demonstrates putting the input at the top of a pipeline, breaking transformations into named functions, and testing the reducer. Examples use Phoenix as a pipeline of plugs, Ecto and Mobius for query building with a query command struct, and Enum (use enum unique instead of hand‑rolled dedupe). A small meetup of about ten people finds these patterns reduce if/elsif complexity and they work.

AI-written summary · about

  1. 0:00Start
  2. 10:20Lund Algorithm for Calculating Credit-Card Validity
  3. 16:43Pattern Matching
  4. 18:04Common Idioms
  5. 25:08Getting Set Functions
~/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.