~/talk

Clarity

slides:none on file

Compares two Elixir solutions for counting monotonic "password" integers: an obscure 20-line version vs a clarified rewrite that becomes a linear-time algorithm (counts 100-digit monotonic integers in ~100 steps instead of ~350 billion), using Elixir with Phoenix/Ecto idioms, schema-based normalization and conn tests. Recommends separation of concerns (interface/core), typeful specs, small linearized PRs and collaborative code reviews focused on clarity, plus tests that exercise behavior not implementation details and frequent refactoring to keep the codebase maintainable.

AI-written summary · about

  1. 0:00Start
  2. 5:39What Are Valid Passwords of the Given Length
  3. 5:53What Are Monotonic Integers
  4. 11:41Practice of Code Reviews
  5. 14:43Pull Requests
  6. 18:35Separation of Concerns
  7. 20:21Concrete Examples
  8. 22:01Phoenix Namespace
  9. 22:49Type Specification
  10. 28:01Implementation of the Core Function
  11. 32:11Purpose of Tests
  12. 32:33Tests for the Purpose of Testing
  13. 37:59Test Code Is Code
  14. 39:14Register Helper
  15. 40:28Public Api
  16. 42:21Summary
  17. 48:35Practices of Code Review
  18. 51:02Questions
  19. 55:52How To Separate Interface from the Core
  20. 59:04Testing
  21. 1:01:50Code Reviews
  22. 1:03:51Second System Effect
  23. 1:07:15Internal Dsls
~/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.