~/talk

The Math Every Programmer Needs

Talkat RailsConf 2023 · 2023-04-24..04-26· [python]

Claim: discrete math (Boolean algebra, combinatorics, graph theory) is the most practically useful CS class for day-to-day Rails work. Concrete tools: use truth tables and De Morgan’s laws to simplify or catch broken conditionals, count states (2 × 3 = 6) to find missing tests when only four exist, and draw dependency graphs to see which lets run. Build an adapter (strangler fig pattern) to break cycles and ship each change incrementally; it works and prevents big-bang deploys.

AI-written summary · about

  1. 0:00Why math matters to programmers
  2. 1:06Discrete math is most useful
  3. 2:07Unnecessary conditionals and Booleans
  4. 5:58Truth tables for complex code
  5. 9:13Fixing conditionals with de Morgan's
  6. 14:16Combinatorics for test coverage
  7. 17:31Set theory and Venn diagrams
  8. 18:57Dependency graphs for testing
  9. 24:14Graph theory for task breakdown
  10. 27:25Breaking cycles in graphs
  11. 32:40Discrete math tools for devs
  12. 33:12Q&A
~/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.