TIL By Breaking Production...
summary
A series of production incidents shows concrete fixes: guard your numeric comparisons with is_number/1 guard to avoid surprisingly passing cases; enforce reactor return shapes with behaviour callbacks so Dialyzer and compile warnings catch mismatches; use :erlang utilities or Decimal instead of naive to_string conversions to avoid exponential notation and wrong amounts (or call :erlang.float_to_binary to format); prefer property‑based tests and the live debugger over ad hoc logging to catch edge cases before deploy.
AI-written summary · about
chapters (6)
- 0:00Introduction and setup
- 2:33Case one transaction guard
- 8:40Case two reactor processors
- 17:24Case three debugging production
- 20:58Case four float handling
- 26:49Wrap-up and Q&A








