~/talk

Design by Contract in Elixir(...)

Talkat Berlin Erlang Factory Lite 2015 · on Tuesday, 2015-12-01· [testing]
links:none on file
slides:none on file

Claims a workable Design by Contract layer for Elixir called elixir-contracts library and shows it enforcing pre/postconditions on functions using macros/metaprogramming. Demos reproduce the Ariane 5 $500M style failure as a missing contract, show compile‑time and runtime checks, generate documentation, and toggle assertions for testing versus production. Implementation works in examples but warns about macro complexity and performance tradeoffs and documents what actually gets checked and when.

AI-written summary · about

  1. 0:00Start
  2. 3:04ARIANE 5 FLIGHT 501
  3. 6:58BASICS OF HOARE LOGIC
  4. 9:01WHAT IS DESIGN BY CONTRACT
  5. 10:20STRUCTURE OF A CONTRACT
  6. 15:34MACROS RULES
~/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.