~/talk

Practical Meta Programming Modeling Thought

Talkat RubyConf 2011 · 2011-09-29..10-01· [ruby]
speakerdeck:sgharms
slides:none on file

Library fully conjugates Classical Latin verbs across 133 forms and 5 paradigms by modeling ambiguity instead of enumerating methods. It uses method_missing, a small DSL that generates modules at runtime, and dynamic module generation to include those modules into objects; ~46 method behaviors come from six handlers and a 24-method surface scales to thousands of cases. Tests report zero failures for unexpected reversals, IRB integration offers tab completion, and the system works in practice.

AI-written summary · about

  1. 0:00Intro
  2. 2:22Im-practical Metaprogramming
  3. 8:03Gray's Mandate
  4. 17:37Metaprogramming: Advanced Message Redirection
  5. 18:08Tier 1 Metaprogramming: Open Classes
  6. 21:41Teens: Brilliance
  7. 23:17Metaprogramming Idioms
  8. 25:33Word from Mom and Dad
  9. 26:45Specification
  10. 29:10Metaprogramming Makes a Saving Throw!
  11. 30:23method missing and dynamic dispatch(send)
  12. 32:07Result: Surprises
  13. 36:18Build beautiful module generators
  14. 39:53Goals Checklist
  15. 41:31Work with Me / Have Me Teach / Contact Me!
~/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.