~/talk

The code etymologist

Talkat JSHeroes 2025 · 2025-05-29..05-30· [typescript, developer-experience]
slides:none on file

Argues that writing docs is fine but moving key facts into executable code prevents rot: enforce Node version with package.json engines + .npmrc enforcement, validate 200+ env vars at startup so the app crashes with explicit errors instead of mystery failures, and describe payloads with enums and discriminated unions then validate them with Zod runtime schemas with TS inference so runtime values and compile‑time types stay in sync.

AI-written summary · about

  1. 0:00Code etymology introduction
  2. 2:50Code etymologist role
  3. 3:12Why documentation is often missing
  4. 5:43Documentation types needed
  5. 6:03Self-documenting JS setup
  6. 7:08Node.js version consistency
  7. 9:14Challenges with written docs
  8. 9:36Moving versions into code
  9. 11:02Safe env variable management
  10. 12:25Type-safe environment variables with Zod
  11. 14:10Code better than docs
  12. 14:31Understanding data structures
  13. 15:57Limitations of untyped JS
  14. 17:20Enums for type definitions
  15. 19:47Discriminated unions
  16. 22:37Runtime validation and types
  17. 23:19Schemas for safety
  18. 24:44Longer code meaning
  19. 25:05Further learning resources
  20. 25:27Docs as source of truth
  21. 26:11Preventing future etymologists
  22. 26:54Call to action
~/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.